Crate sj

Source
Expand description

§Some JSON implementation

§Project

  • License: GNU Lesser General Public License, either version 3, or (at your option) any later version.
  • This project follows Semantic Versioning 2.0.0

§Features

  • This is an implementation of JSON.
  • Parsing from Read: parse().
  • Generating to JSON string: Json.

§Notes

  • Documentation is built with all features. Some of them are optional. If you see components from other crates, you can view source to see what features are required.

  • Nightly Rust is only required for building documentation.

Modules§

version_info
2.0.3 (March 21st, 2025)

Structs§

ArrayIndexes
Array Indexes
Error
Error
Number
Number
ObjectIndexes
Object Indexes

Enums§

Json
Json
Map
Map
MapKind
Map kind

Constants§

CODE_NAME
Crate code name
ID
ID of this crate
NAME
Crate name
RELEASE_DATE
Crate release date (year/month/day)
TAG
Tag, which can be used for logging…
VERSION
Crate version

Functions§

array
Makes new array
array_with_capacity
Makes new array with capacity
object
Makes new object
object_with_capacity
Makes new object with capacity
parsestd
Parses a stream
parse_bytesstd
Parses bytes
push
Pushes new item into an array

Type Aliases§

Array
Array
BTreeMap
B-tree map
HashMapstd
Hash map
IoResultstd
Result for I/O functions
ObjectKey
Object key
Result
Result type used in this crate