Json.Parser – json-glib-1.0 Reference Manual
Packages
json-glib-1.0
Json
Parser
error_quark
Parser
get_current_line
get_current_pos
get_root
has_assignment
load_from_data
load_from_file
load_from_stream
load_from_stream_async
array_element
array_end
array_start
error
object_end
object_member
object_start
parse_end
parse_start
Parser
Object Hierarchy:
Description:
public
class
Parser
:
Object
Namespace:
Json
Package:
json-glib-1.0
Content:
Static methods:
public
static
Quark
error_quark
()
Creation methods:
public
Parser
()
Methods:
public
uint
get_current_line
()
public
uint
get_current_pos
()
public
unowned
Node
get_root
()
public
bool
has_assignment
(
out
string
variable_name)
public
bool
load_from_data
(
string
data,
ssize_t
length = -
1
)
throws
Error
public
bool
load_from_file
(
string
filename)
throws
Error
public
bool
load_from_stream
(
InputStream
stream,
Cancellable
? cancellable =
null
)
throws
Error
public
async
bool
load_from_stream_async
(
InputStream
stream,
Cancellable
? cancellable =
null
)
throws
Error
Signals:
public
virtual
signal
void
array_element
(
Array
array,
int
index_)
public
virtual
signal
void
array_end
(
Array
array)
public
virtual
signal
void
array_start
()
public
virtual
signal
void
error
(
void
* error)
public
virtual
signal
void
object_end
(
Object
object)
public
virtual
signal
void
object_member
(
Object
object,
string
member_name)
public
virtual
signal
void
object_start
()
public
virtual
signal
void
parse_end
()
public
virtual
signal
void
parse_start
()
Inherited Members:
All known members inherited from class GLib.Object
@new
newv
new_valist
get_type
get_class
@ref
unref
ref_sink
weak_ref
weak_unref
add_weak_pointer
remove_weak_pointer
@get
@set
get_property
set_property
get_data
set_data
set_data_full
steal_data
get_qdata
set_qdata
set_qdata_full
steal_qdata
freeze_notify
thaw_notify
dispose
constructed
notify_property
connect
disconnect
add_toggle_ref
remove_toggle_ref
bind_property
notify
ref_count