GNU
|
Liberty Eiffel
|
Automated Tests
|
Wiki
|
Savannah project
|
Debian packages
|
Documentation
>
libraries
>
JSON_ENCODER
+
Point of view
JSON_OBJECT
ANY
INTERNALS_HANDLER
TYPED_INTERNALS
JSON_ARRAY
JSON_FALSE
JSON_NULL
JSON_NUMBER
JSON_OBJECT
JSON_STRING
JSON_TRUE
JSON_HANDLER
All features
class JSON_ENCODER
Summary
top
Direct parents
Inherit list:
JSON_VISITOR
Overview
top
Creation features
make
Exported features
pretty
:
BOOLEAN
True if the
JSON
text must be prettily indented, False if no extra space should be emitted
raw
:
BOOLEAN
True if UTF-8 characters can be emitted, False if '\u' sequences are emitted instead
set_pretty
(enable:
BOOLEAN
)
set_raw
(enable:
BOOLEAN
)
encode_in
(value:
JSON_VALUE
, a_stream:
OUTPUT_STREAM
)
visit_object
(json:
JSON_OBJECT
)
pretty
:
BOOLEAN
writable attribute
top
True if the
JSON
text must be prettily indented, False if no extra space should be emitted
raw
:
BOOLEAN
writable attribute
top
True if UTF-8 characters can be emitted, False if '\u' sequences are emitted instead
set_pretty
(enable:
BOOLEAN
)
effective procedure
top
ensure
pretty
= enable
set_raw
(enable:
BOOLEAN
)
effective procedure
top
ensure
raw
= enable
encode_in
(value:
JSON_VALUE
, a_stream:
OUTPUT_STREAM
)
effective procedure
top
require
value /= Void
a_stream.is_connected
visit_object
(json:
JSON_OBJECT
)
effective procedure
top
require
json /= Void