module Crystalizer::JSON
Extended Modules
Defined in:
json.crjson/any.cr
json/deserializer.cr
json/serializer.cr
Class Method Summary
-
.deserialize(io : IO, to type : T.class) : T forall T
Deserializes a JSON document to a given type
T
. -
.deserialize(string : String, to type : T.class) : T forall T
Deserializes a JSON document to a given type
T
. -
.parse(string_or_io : String | IO) : Any
Parses a JSON document as an
Any
. - .serialize(io : IO, object, *, indent : String = Serializer.indent) : Nil
- .serialize(object, *, indent : String = Serializer.indent) : String
Class Method Detail
Deserializes a JSON document to a given type T
.
Deserializes a JSON document to a given type T
.