[][src]Trait uikit_sys::INSJSONSerialization

pub trait INSJSONSerialization: Sized + Deref {
    unsafe fn isValidJSONObject_(obj: id) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn dataWithJSONObject_options_error_(
        obj: id,
        opt: NSJSONWritingOptions,
        error: *mut NSError
    ) -> NSData
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn JSONObjectWithData_options_error_(
        data: NSData,
        opt: NSJSONReadingOptions,
        error: *mut NSError
    ) -> id
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn writeJSONObject_toStream_options_error_(
        obj: id,
        stream: NSOutputStream,
        opt: NSJSONWritingOptions,
        error: *mut NSError
    ) -> NSInteger
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn JSONObjectWithStream_options_error_(
        stream: NSInputStream,
        opt: NSJSONReadingOptions,
        error: *mut NSError
    ) -> id
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

unsafe fn isValidJSONObject_(obj: id) -> BOOL where
    Self::Target: Message + Sized

unsafe fn dataWithJSONObject_options_error_(
    obj: id,
    opt: NSJSONWritingOptions,
    error: *mut NSError
) -> NSData where
    Self::Target: Message + Sized

unsafe fn JSONObjectWithData_options_error_(
    data: NSData,
    opt: NSJSONReadingOptions,
    error: *mut NSError
) -> id where
    Self::Target: Message + Sized

unsafe fn writeJSONObject_toStream_options_error_(
    obj: id,
    stream: NSOutputStream,
    opt: NSJSONWritingOptions,
    error: *mut NSError
) -> NSInteger where
    Self::Target: Message + Sized

unsafe fn JSONObjectWithStream_options_error_(
    stream: NSInputStream,
    opt: NSJSONReadingOptions,
    error: *mut NSError
) -> id where
    Self::Target: Message + Sized

Loading content...

Implementors

impl INSJSONSerialization for NSJSONSerialization[src]

Loading content...