module Crystalizer::JSON

Extended Modules

Defined in:

json.cr
json/any.cr
json/deserializer.cr
json/serializer.cr

Class Method Summary

Class Method Detail

def self.deserialize(string_or_io : IO | String, to type : T.class) : T forall T #

[View source]
def self.parse(string_or_io : String | IO) : Any #

Parses a JSON document as a JSON::Any.


[View source]
def self.serialize(io : IO, object : O, *, indent : String = " ") : Nil forall O #

[View source]
def self.serialize(object, *, indent : String = " ") : String #

[View source]