class EncJson::JsonUtils

Defined in:

json_utils.cr

Constant Summary

JSON_PUBLIC_KEY_NAME = "_public_key"

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(json : JSON::Any, key_dir : String | Nil, command : Symbol, debug : Bool = false) #

[View source]

Class Method Detail

def self.has_public_key?(json : JSON::Any) #

[View source]
def self.with_content(content, &) #

[View source]
def self.with_file(file_name, from_stdin : Bool = false, &) #

[View source]

Instance Method Detail

def enc_dec #

[View source]
def parse_array(any : JSON::Any, level : Int32 = 0) : JsonType #

[View source]
def parse_hash(any : JSON::Any, level : Int32 = 0) : JsonType #

[View source]