# JsonModule
Provides JSON serialization and deserialization functions.
## Functions
### json_encode
json_encode(value) -> stringvalue: A VoidScript value (int, double, bool, string, object, null).### json_decode
json_decode(json) -> object|valuejson (string): A valid JSON string.json not a string.{}), primitives, and null are supported; arrays ([]) are not supported.## Example
```vs
var obj = {};
obj["name"] = "Alice";
obj["age"] = 30;
var jsonStr = json_encode(obj);
printnl(jsonStr); // {"name":"Alice","age":30}
var decoded = json_decode(jsonStr);
printnl(decoded["name"]); // Alice
```