Skip to content
Snippets Groups Projects

Start using the new JSON-GLib functions "*_with_default"

Merged Ludovico de Nittis requested to merge wip/denittis/json_default_value into master
All threads resolved!

JSON-Glib 1.6.0 introduced new functions to get members from a JSON object with a default fallback value. This allows us to avoid manually checking the existence of a member.

The functions that we currently need have been backported to allow the execution on systems with a JSON-GLIB version older than the 1.6.0


/cc @smcv

Merge request reports

Merge request pipeline #5071 passed

Merge request pipeline passed for a3604028

Merged by Simon McVittieSimon McVittie 4 years ago (Nov 9, 2020 3:13pm UTC)

Loading

Pipeline #5075 failed

Pipeline failed for 157de580 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Simon McVittie
  • Simon McVittie
  • added 1 commit

    • a3604028 - Start using the new JSON-GLib functions "*_with_default"

    Compare with previous version

  • Ludovico de Nittis resolved all threads

    resolved all threads

  • Simon McVittie approved this merge request

    approved this merge request

  • Simon McVittie mentioned in commit 157de580

    mentioned in commit 157de580

  • Please register or sign in to reply
    Loading