struct Crystalizer::JSON::Serializer
- Crystalizer::JSON::Serializer
- Struct
- Value
- Object
Included Modules
Defined in:
json/serializer.crConstructors
Class Method Summary
- .indent : String
- .indent=(indent : String)
- .serialize_object_key(null : Nil)
- .serialize_object_key(any : Crystalizer::Any)
- .serialize_object_key(object : Path | String | Symbol | Number::Primitive)
Instance Method Summary
- #indent=(value : String)
- #serialize(object : Crystalizer::Type)
- #serialize(object : Crystalizer::Any)
- #serialize(object : ::JSON::Serializable)
- #serialize(hash : Hash)
- #serialize(array : Array | Deque | Set | Tuple)
- #serialize(named_tuple : NamedTuple)
- #serialize(bool : Bool)
- #serialize(object : Enum)
- #serialize(null : Nil)
- #serialize(number : Number::Primitive)
- #serialize(object : Path | String | Symbol)
- #serialize(time : Time)
- #serialize(object : O) : Nil forall O