Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
totem
v0.7.0
Totem
Any
Type
Config
ConfigBuilder
ConfigTypes
Adapter
Env
JSON
YAML
Exception
MappingError
NotFoundConfigFileError
NotFoundConfigKeyError
RemoteProviderError
UnsupportedConfigError
UnsupportedRemoteProviderError
RemoteProviders
Adapter
Etcd
Redis
Utils
EnvHelper
FileHelper
HashHelper
Built with Crystal 1.9.2
2023-10-08 00:54:19 UTC
class
Totem::ConfigTypes::JSON
Totem::ConfigTypes::JSON
Totem::ConfigTypes::Adapter
Reference
Object
Overview
Builtin JSON format config type
Defined in:
totem/config_types/json.cr
Instance Method Summary
#read
(raw) : Hash(String, Totem::Any)
#write
(io, config)
Instance methods inherited from class
Totem::ConfigTypes::Adapter
read(raw : String | IO) : Hash(String, Totem::Any)
read
,
write(io : File, config : Config)
write
Instance methods inherited from class
Reference
==(other : Totem::Any)
==
Instance methods inherited from class
Object
===(other : Totem::Any)
===
Instance Method Detail
def
read
(raw) : Hash(String,
Totem::Any
)
#
[
View source
]
def
write
(io, config)
#
[
View source
]