Json.Generator – json-glib-1.0 Reference Manual
Packages
json-glib-1.0
Json
Generator
indent
indent_char
pretty
root
Generator
get_indent
get_indent_char
get_pretty
get_root
set_indent
set_indent_char
set_pretty
set_root
to_data
to_file
to_stream
Generator
Object Hierarchy:
Description:
public
class
Generator
:
Object
Namespace:
Json
Package:
json-glib-1.0
Content:
Properties:
public
uint
indent
{
set
;
get
; }
public
uint
indent_char
{
set
;
get
; }
public
bool
pretty
{
set
;
get
; }
public
Node
root
{
set
;
get
; }
Creation methods:
public
Generator
()
Methods:
public
uint
get_indent
()
public
unichar
get_indent_char
()
public
bool
get_pretty
()
public
unowned
Node
get_root
()
public
void
set_indent
(
uint
indent_level)
public
void
set_indent_char
(
unichar
indent_char)
public
void
set_pretty
(
bool
is_pretty)
public
void
set_root
(
Node
node)
public
string
to_data
(
out
size_t
length)
public
bool
to_file
(
string
filename)
throws
Error
public
bool
to_stream
(
OutputStream
stream,
Cancellable
? cancellable =
null
)
throws
Error
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