1. Jun 03, 2016
  2. May 30, 2016
  3. May 17, 2016
  4. May 03, 2016
    • Petri Lehtinen's avatar
      Merge pull request #284 from dev-zzo/issue-282 · 013c3892
      Petri Lehtinen authored
      Don't crash on deeply nested values by limiting parser recursion depth
      013c3892
    • Dmitry Janushkevich's avatar
      Fix for issue #282 · 64ce0ad3
      Dmitry Janushkevich authored
      The fix limits recursion depths when parsing arrays and objects.
      The limit is configurable via the `JSON_PARSER_MAX_DEPTH` setting
      within `jansson_config.h` and is set by default to 2048.
      
      Update the RFC conformance document to note the limit; the RFC
      allows limits to be set by the implementation so nothing has
      actually changed w.r.t. conformance state.
      
      Reported by Gustavo Grieco.
      64ce0ad3
  5. Apr 28, 2016
  6. Mar 03, 2016
  7. Mar 02, 2016
  8. Feb 25, 2016
  9. Feb 24, 2016
  10. Feb 23, 2016
  11. Feb 11, 2016
  12. Feb 10, 2016
  13. Feb 03, 2016
    • Maxim Zhukov's avatar
      [Optimized functions] · b698ca13
      Maxim Zhukov authored
      Optimized json_equal, json_delete, json_copy, json_deep_copy
      Replaced if to switch
      Removed unnecessary check for NULL.
      b698ca13
  14. Dec 23, 2015
    • Petri Lehtinen's avatar
      Fix a typo · 0f50bb10
      Petri Lehtinen authored
      0f50bb10
    • Petri Lehtinen's avatar
      Update CHANGES · e6b60da0
      Petri Lehtinen authored
      e6b60da0
    • Petri Lehtinen's avatar
      Change doc version to 2.8-dev · 89f4c15e
      Petri Lehtinen authored
      It's shown in the front page of readthedocs/latest.
      89f4c15e
    • Petri Lehtinen's avatar
      Fix a comment · 1c2e707b
      Petri Lehtinen authored
      1c2e707b
    • Petri Lehtinen's avatar
      Merge pull request #263 from wking/display-first-unrecognized-key · 52015cf3
      Petri Lehtinen authored
      pack_unpack: List first unrecognized key in strict unpacking
      52015cf3
    • W. Trevor King's avatar
      pack_unpack: List unrecognized keys in strict unpacking · 1d513d06
      W. Trevor King authored
      Otherwise figuring out what's wrong with your JSON can be tricky,
      especially if you're using a single fmt string to validate a large,
      complicated schema.
      
      The comma delimiting will make separating keys that contain commas
      difficult.  For example:
      
        {"foo, bar": true, "baz": false}
      
      will generate errors like:
      
        2 object item(s) left unpacked: foo, bar, baz
      
      but that seems like a small enough corner case to not be worth much
      worrying.
      
      I wanted to find a way to handle this without have_unrecognized_keys,
      but the strbuffer tooling makes it look like I shouldn't be reaching
      in to do things like:
      
        strbuffer_t unrecognized_keys;
        unrecognized_keys.value = NULL;
      
      and then using 'unrecognized_keys.value == NULL' in place of
      have_unrecognized_keys.
      1d513d06
  15. Dec 22, 2015
  16. Oct 20, 2015
  17. Oct 14, 2015
  18. Oct 12, 2015
  19. Oct 05, 2015
  20. Sep 09, 2015
  21. Sep 02, 2015
  22. Sep 01, 2015
  23. Aug 26, 2015
  24. Aug 13, 2015
  25. May 19, 2015