MapSchema.JsonEncoding (map_schema v0.1.0) View Source
The JsonEncoding module compone the macros that let us, build the methods:
- json_encode(map) Take a map and cast to json string format.
- json_decode(json) Take a json string format and build a map, following the rules of schema.
Note:It´s check the data types.
- json_decode(mapa, json) Take a json string format and build a map, change the values of the actual map following the rules of schema.
Note:It´s check the data types.