Docs.rs
  • jsonc-parser-0.24.0
    • jsonc-parser 0.24.0
    • Docs.rs crate page
    • MIT
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • dsherret
    • Dependencies
      • indexmap ^2.2.6 normal optional
      • serde_json ^1.0 normal optional
      • unicode-width ^0.2.0 normal optional
      • pretty_assertions ^1.0.0 dev
    • Versions
    • 71.69% of the crate is documented
  • Go to latest version
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

Crate jsonc_parser

jsonc_parser0.24.0

  • All Items

Crate Items

  • Modules
  • Macros
  • Structs
  • Enums
  • Functions
  • Type Aliases

Crates

  • jsonc_parser

Crate jsonc_parser

source

Modules§

  • ast
  • common
  • cst
  • errors
  • tokens

Macros§

  • json

Structs§

  • CollectOptions
    Options for collecting comments and tokens.
  • JsonArray
    A JSON array.
  • JsonObject
    A JSON object.
  • ParseOptions
    Options for parsing.
  • ParseResult
    Result of parsing the text.
  • Scanner
    Converts text into a stream of tokens.

Enums§

  • CommentCollectionStrategy
  • JsonValue
    A JSON value.
  • ParseStringErrorKind

Functions§

  • parse_to_ast
    Parses a string containing JSONC to an AST with comments and tokens.
  • parse_to_serde_value
    Parses a string containing JSONC to a `serde_json::Value.
  • parse_to_value
    Parses a string containing JSONC to a JsonValue.

Type Aliases§

  • CommentMap
    Map where the comments are stored in collections where the key is the previous token end or start of file or next token start or end of the file.
  • Map

Results

Settings
Help

Query parser error: "Unexpected - (did you mean ->?)".