PackageTrack
Sign in Get early access

json

JSON implementation in Rust

0.12.4 25M downloads/mo #1886 most downloaded on crates.io maciejhirsz/json-rust

What this package is like to depend on

Last release 6 years ago

no release in 18 months

Ships unpredictably

gaps range from 4 weeks to 1.4 years

Rarely documented

notes for 9 of 52 stable releases

2 versions withdrawn

withdrawn after publishing

10 years old

54 releases · first in 2016

0 releases in the last 12 months

see the full history below

Release timeline

54 releases · Jun 2016 to Mar 2020
2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 54
  1. 0.12.4 18 Mar 2020
    Release notes
    • Fixes an issue with new macros requiring types to be copy.
    Open source →
    Release notes

    0.12.4 Latest

    Latest

    Compare

    Choose a tag to compare

    Open source →
  2. 0.12.3 17 Mar 2020 withdrawn
    Release notes
    • Improved macro syntax:
      • Object "key" => value pair can be now written as either "key": value or key: value without quotes, as long as key is an identifier.
      • If you want to use the value of the a variable as a key in the new notation, use [foo]: value.
      • When nesting objects or arrays, it's no longer necessary to use invoke array! or object! from within another macro.
      • null is a keyword inside of either macro.
      • This is a backwards compatible change, although mixing notations within a single macro invocation is not permitted.

    Example

    Instead of:

    let obj = object! {
        "foo" => array![1, 2, json::Null],
        "bar" => 42
    };

    You can now write:

    let obj = object! {
        foo: [1, 2, null],
        bar: 42
    };
    Open source →
    Release notes

    0.12.3

    Compare

    Choose a tag to compare

    Open source →
  3. 0.12.2 11 Mar 2020
    Release notes
    • Fixes #152 & #153.
    • Fixed a whole bunch of warnings and some formatting.
    Open source →
    Release notes

    0.12.2

    Compare

    Choose a tag to compare

    Open source →
  4. 0.12.1 14 Jan 2020
    Release notes
    • Fixes panics in string generation (#168).
    • Fixes an old link to documentation in doc comments (#170).
    Open source →
    Release notes

    0.12.1

    Compare

    Choose a tag to compare

    Open source →
  5. 0.12.0 06 Sep 2019
    Release notes
    • Updated to edition 2018.
    • Simplified reading escaped unicode in strings a bit.
    • Provided From<&[T]> implementation for JsonValue where T: Into<JsonValue> (closes #160).
    • object! and array! macros will no longer re-allocate (closes #159).
    • object! and array! macros can be now used without being imported into local scope (by using json::object! or json::array!, thanks @matthias-t).
    • BREAKING HashMap and BTreeMap conversions are now more generic, working for any pair of K key and V value where K: AsRef<str> and V: Into<JsonValue>. This means that type inference won't always work in your favor, but should be much more flexible.
    • You can now .collect() an interator of (K, V) (with bounds same as point above) into an Object.
    Open source →
    Release notes

    0.12.0

    Compare

    Choose a tag to compare

    Open source →
  6. 0.11.15 12 Aug 2019

    Nothing published for this version

  7. 0.11.14 04 Jun 2019

    Nothing published for this version

  8. 0.11.13 17 Jan 2018
    Release notes
    • Fixes an overflow that lead to a panic in extremely large integers (see issue #139).
    Open source →
    Release notes

    0.11.13

    Compare

    Choose a tag to compare

    Open source →
  9. 0.11.12 10 Nov 2017
    Release notes
    • Optimized away unnecessary copying in the parser stack machine, should result in parsing performance increased by up to 20%.
    Open source →
    Release notes

    0.11.12

    Compare

    Choose a tag to compare

    Open source →
  10. 0.11.11 10 Nov 2017
    Release notes
    • Fixes an issue when parsing objects with non-unique names (#136).
    • Fixed a warning on #[must_use] (#119).
    • Deprecated Object::override_last, it was only public out of necessity before pub(crate) was introduced.
    Open source →
    Release notes

    0.11.11

    Compare

    Choose a tag to compare

    Open source →
  11. 0.11.10 07 Oct 2017
    Release notes

    Thanks to @Yoric for contributions:

    • Implemented dump and pretty for Object, see #131
    • Two string JsonValues are now equal even if one is a Short while the other is a String variant, see #126
    • The object! macro now handles trailing commas, see #125
    Open source →
    Release notes

    0.11.10

    Compare

    Choose a tag to compare

    Open source →
  12. 0.11.9 28 Jul 2017
    Release notes
    • Numbers created from parts are now automatically normalized, and print out expected values (Issue #114, thanks again @lpbak).
    Open source →
    Release notes

    0.11.9

    Compare

    Choose a tag to compare

    Open source →
  13. 0.11.8 03 Jul 2017

    Nothing published for this version

  14. 0.11.7 26 Jun 2017

    Nothing published for this version

  15. 0.11.6 15 Mar 2017

    Nothing published for this version

  16. 0.11.5 21 Jan 2017

    Nothing published for this version

  17. 0.11.4 02 Jan 2017

    Nothing published for this version

  18. 0.11.3 30 Nov 2016

    Nothing published for this version

  19. 0.11.2 25 Nov 2016

    Nothing published for this version

  20. 0.11.1 23 Nov 2016

    Nothing published for this version

  21. 0.11.0 28 Oct 2016

    Nothing published for this version

  22. 0.10.3 26 Oct 2016

    Nothing published for this version

  23. 0.10.2 11 Aug 2016

    Nothing published for this version

  24. 0.10.1 01 Aug 2016

    Nothing published for this version

  25. 0.10.0 22 Jul 2016

    Nothing published for this version

  26. 0.9.1 18 Jul 2016

    Nothing published for this version

  27. 0.9.0 16 Jul 2016

    Nothing published for this version

  28. 0.8.8 10 Jul 2016

    Nothing published for this version

  29. 0.8.7 07 Jul 2016

    Nothing published for this version

  30. 0.8.6 06 Jul 2016

    Nothing published for this version

  31. 0.8.5 04 Jul 2016

    Nothing published for this version

  32. 0.8.4 01 Jul 2016

    Nothing published for this version

  33. 0.8.2 01 Jul 2016 withdrawn

    Nothing published for this version

  34. 0.8.1 30 Jun 2016

    Nothing published for this version

  35. 0.8.0 28 Jun 2016

    Nothing published for this version

  36. 0.7.4 26 Jun 2016

    Nothing published for this version

  37. 0.7.3 26 Jun 2016

    Nothing published for this version

  38. 0.7.2 24 Jun 2016

    Nothing published for this version

  39. 0.7.1 22 Jun 2016

    Nothing published for this version

  40. 0.7.0 22 Jun 2016

    Nothing published for this version

  41. 0.6.1 21 Jun 2016

    Nothing published for this version

  42. 0.6.0 20 Jun 2016

    Nothing published for this version

  43. 0.5.1 20 Jun 2016

    Nothing published for this version

  44. 0.5.0 19 Jun 2016

    Nothing published for this version

  45. 0.4.0 18 Jun 2016

    Nothing published for this version

  46. 0.3.4 17 Jun 2016

    Nothing published for this version

  47. 0.3.3 16 Jun 2016

    Nothing published for this version

  48. 0.3.2 15 Jun 2016

    Nothing published for this version

  49. 0.3.1 14 Jun 2016

    Nothing published for this version

  50. 0.3.0 14 Jun 2016

    Nothing published for this version

  51. 0.2.1 14 Jun 2016

    Nothing published for this version

  52. 0.2.0 12 Jun 2016

    Nothing published for this version

  53. 0.1.1 12 Jun 2016

    Nothing published for this version

  54. 0.1.0 12 Jun 2016

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive