actson-rs

🎬 A reactive (or non-blocking, or asynchronous) JSON parser

MIT License

Downloads
10K
Stars
31

Bot releases are hidden (Show)

actson-rs - 1.1.0 Latest Release

Published by michel-kraemer 3 months ago

New features:

  • Add streaming mode, in which Actson can parse a stream of multiple top-level JSON values

Maintenance:

  • Only run serde benchmark if the serde_json feature is enabled (see #32)
  • Update dependencies
actson-rs - 1.0.0

Published by michel-kraemer 7 months ago

First stable version. We'll use semantic versioning from now on.

New features:

  • GeoJSON benchmark

Breaking changes:

  • Replace JsonEvent::Error with ParserError and let next_event() return Result
  • Remove JsonEvent::Eof and let next_event() return None instead

Maintenance:

  • Add missing docs
  • Update README
actson-rs - 0.5.0

Published by michel-kraemer 8 months ago

New features:

  • Provide more information about parser errors
  • Support top-level values when converting to Serde JSON

Breaking changes:

  • Rename JsonEvent::ValueDouble to JsonEvent::ValueFloat. This is more in line with the Rust terminology
  • Merge JsonParser::current_i32 and JsonParser::current_i64 to JsonParser::current_int and generalize them with the num-traits crate
  • Rename JsonParser::current_f64 to JsonParser::current_float
  • Rename JsonParser::current_string to JsonParser::current_str
  • Refactor errors

Maintenance:

actson-rs - 0.4.0

Published by michel-kraemer 8 months ago

Possible breaking change:

  • Do not enable tokio feature by default

Bug fixes/security fixes:

  • Replace lexical dependency with btoi and internal Rust float parsing (thanks to @zozs for the PR!)

Maintenance:

  • Update dependencies
  • Slight performance improvement: Use VecDeque instead of Vec
  • Remove fuzz
actson-rs - 0.3.0

Published by michel-kraemer about 1 year ago

New features:

  • Add parsed_bytes field to JsonParser

Breaking changes:

  • Return &str from current_string() instead of String
  • Let JsonParser take ownership of Feeder and Feeder take ownership of BufReader

Maintenance:

  • Remove where clauses from struct definitions
  • Replace ringbuffer with VecDeque
  • Update dependencies
actson-rs - 0.2.0

Published by michel-kraemer over 1 year ago

New features:

  • More feeders
  • Add support for asynchronous parsing with Tokio
  • Add helper to parse to Serde JSON Values
actson-rs - 0.1.0

Published by michel-kraemer over 1 year ago

Package Rankings
Badges
Extracted from project README
Actions Status MIT license Latest Version Documentation