[−][src]Module rune_modules::json
The native json module for the Rune Language.
Usage
Add the following to your Cargo.toml:
runestick = "0.2"
runestick-json = "0.2"
Install it into your context:
let mut context = runestick::Context::with_default_packages()?; context.install(&rune_modules::json::module()?)?;
Use it in Rune:
ⓘThis example is not tested
use json; fn main() { let data = json::from_string("{\"key\": 42}"); dbg(data); }
Functions
| module | Get the module for the bytes package. |