k# json_easy2use Use Rust's JSON more easily like python's dict and javascript JSON. includes set, append, get, delete, and more #How this works? I made a series ofcustom macro's for rust Serde JSON crate. This will make it easier to work with JSON if you are farmiliar with Python or JavaScript.
Let's take a look how this works.
consider the following:
set!, append!,delete!, get!, and root_append! are macros avalible to use.
Example Usage
in a new rust project,
enter commands cargo add serde_json and cargo add json_easy2use
add the following to your main.rs file:
the output from this code is the following: