config BR2_PACKAGE_JSON_GLIB
	bool "json-glib"
	depends on BR2_USE_WCHAR # glib2
	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
	depends on BR2_USE_MMU # glib2
	select BR2_PACKAGE_LIBGLIB2
	help
	  JSON-GLib is a library providing serialization and
	  deserialization support for the JavaScript Object Notation
	  (JSON) format described by RFC 4627.

	  https://live.gnome.org/JsonGlib/

comment "json-glib needs a toolchain w/ wchar, threads"
	depends on BR2_USE_MMU
	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
