Skip to content

aglucky/jsonp_rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust JSON Parser

A toy implementation of a JSON parser.

Prerequisites

  • Rust
  • Cargo (Rust's package manager)

You can install both by following the instructions at rust-lang.org.

Usage

Run the parser with a JSON file:

cargo run -- <JSON_PATH>

Testing

Run the test suite:

cargo test

Features

  • Parse JSON objects and arrays
  • Support for all JSON data types (strings, numbers, booleans, null)
  • Error handling with detailed messages

TODO

  • Add recursive parser implementation once tail recursion is officially supported in Rust

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages