serde_kson Macro
serde_kson is a Rust macro that simplifies the process of building and managing JSON-like data structures. It allows you to dynamically create and manipulate nested JSON objects and arrays using a simple and intuitive syntax.
Features
- Easily create nested JSON structures.
- Supports both object and array syntax.
- Convenient access and update operations.
- Built on top of
serde_jsonfor seamless integration.
Dependencies
To use serde_kson, make sure your Cargo.toml includes the following dependencies:
[]
= "1.0"
= "0.1.3"
Example Usage
Here is how you can use the kson! macro to build and interact with a JSON-like structure in Rust:
use kson; // Import the kson macro
License
This project is licensed under the MIT License.