1. 09 Apr, 2018 1 commit
  2. 16 Mar, 2018 1 commit
  3. 15 Mar, 2018 1 commit
  4. 14 Mar, 2018 2 commits
    • Emmanuele Bassi's avatar
      Merge branch 'wip/rishi/24-doc-fix' into 'master' · a3b91ef4
      Emmanuele Bassi authored
      docs: Clarify some expections of the json_object_get_*_member APIs
      
      Closes #24
      
      See merge request GNOME/json-glib!9
      a3b91ef4
    • Debarshi Ray's avatar
      docs: Clarify some expections of the json_object_get_*_member APIs · 0f601e4d
      Debarshi Ray authored
      It is an error to use the following with a missing member:
      
       • json_object_get_int_member
       • json_object_get_double_member
       • json_object_get_boolean_member
       • json_object_get_null_member
       • json_object_get_string_member
       • json_object_get_array_member
       • json_object_get_object_member
      
      Doing so will lead to CRITICALs like these:
        Json-CRITICAL **: json_object_get_string_member: assertion
          'node != NULL' failed
      
      Instead one of these should be used to determine the existence of the
      member:
      
       • json_object_get_member
       • json_object_has_member
      
      Or, when available, one can use the corresponding
      json_object_get_<type>_member_with_default.
      
      GNOME/json-glib#24
      0f601e4d
  5. 13 Mar, 2018 9 commits
  6. 10 Mar, 2018 1 commit
  7. 20 Feb, 2018 1 commit
    • Piotr Drąg's avatar
      Remove po/Makevars · 82d98e66
      Piotr Drąg authored
      Meson doesn’t use it, and Damned Lies learned to read po/meson.build.
      82d98e66
  8. 28 Jan, 2018 1 commit
  9. 15 Dec, 2017 9 commits
  10. 06 Dec, 2017 1 commit
  11. 05 Dec, 2017 1 commit
  12. 14 Nov, 2017 4 commits
    • Emmanuele Bassi's avatar
      Merge branch 'json-glib_repro_build_fix' into 'master' · 76a3c8ea
      Emmanuele Bassi authored
      Update json-enum-types.h.in to improve reproducibility of the build.
      
      See merge request GNOME/json-glib!3
      
      Fixes issue #29
      76a3c8ea
    • Ravish Bhatia's avatar
      Update json-enum-types.h.in · b577c363
      Ravish Bhatia authored
      b577c363
    • Emmanuele Bassi's avatar
      Add with_default() variant for JsonObject getters · 5b816ff8
      Emmanuele Bassi authored
      When using the typed getters for JsonObject, the existing API will
      automatically fail if the member requested is not present. This is
      generally good practice, because JSON data typically does not have a
      schema, and thus is has to be validated "on the go"; a JSON object
      member that contains `null`, or `0`, or `false`, is indistinguishable
      from a JSON object member that does not exist, so we cannot simply
      return a scalar value and be done with it.
      
      We can provide an escape hatch, though, for the crowd writing parsers
      for JSON data; by using Python as the model, we can add methods that
      take a default value as a parameter, and return it as a fallback value
      if the requested object member does not exist, or if it's set to `null`.
      5b816ff8
    • Emmanuele Bassi's avatar
      Open the development cycle towards 1.6 · ce0f83a4
      Emmanuele Bassi authored
      ce0f83a4
  13. 05 Nov, 2017 1 commit
  14. 04 Nov, 2017 3 commits
  15. 21 Oct, 2017 1 commit
  16. 05 Oct, 2017 1 commit
  17. 25 Sep, 2017 1 commit
  18. 20 Sep, 2017 1 commit