json-glib 0.1.1

Rust bindings for the Glib Json library
Documentation
use crate::ffi;
use glib::subclass::prelude::ObjectInterface;
use glib::translate::*;

glib::wrapper! {
    /// An iterator object used to iterate over the members of a JSON object.
    ///
    /// `JsonObjectIter` must be allocated on the stack and initialised using
    /// [`init()`][Self::init()] or [`init_ordered()`][Self::init_ordered()].
    ///
    /// The iterator is invalidated if the object is modified during
    /// iteration.
    ///
    /// All the fields in the `JsonObjectIter` structure are private and should
    /// never be accessed directly.
    pub struct ObjectIter(ObjectInterface<ffi::JsonObjectIter>);
}

#[glib::object_interface]
impl ObjectInterface for ObjectIter {}