class Jq

Overview

for debugging

Included Modules

Defined in:

jq.cr
jq/debug.cr
jq/error.cr
jq/jq.cr
jq/jq/as.cr
jq/jq/cast.cr
jq/jq/lookup.cr
jq/jq/parse.cr
jq/mapping.cr
jq/query.cr

Constructors

Class Method Summary

Instance Method Summary

Macro Summary

Instance methods inherited from module Jq::Cast

cast(klass : Int64.class, hint : String | Nil = nil)
cast(klass : Int32.class, hint : String | Nil = nil)
cast(klass : Float64.class, hint : String | Nil = nil)
cast(klass : Float32.class, hint : String | Nil = nil)
cast(klass : String.class, hint : String | Nil = nil)
cast(klass : Bool.class, hint : String | Nil = nil)
cast(klass : Nil.class, hint : String | Nil = nil)
cast(klass : Time.class, hint : String | Nil = nil)
cast(klass : Class, hint : String | Nil = nil)
cast

Constructor Detail

def self.new(any : JSON::Any, trace : String = "") #

[View source]
def self.new(str : String) #

[View source]

Class Method Detail

def self.parse(source : String) : Array(Query) #

[View source]

Instance Method Detail

def [](filter : String) : Jq #

[View source]
def [](query : Query) : Jq #

[View source]
def []?(filter : String) : Jq | Nil #

[View source]
def any : JSON::Any #

[View source]
def as_a #

[View source]
def as_a? #

[View source]
def as_bool #

[View source]
def as_bool? #

[View source]
def as_f #

[View source]
def as_f32 #

[View source]
def as_f32? #

[View source]
def as_f? #

[View source]
def as_h #

[View source]
def as_h? #

[View source]
def as_i #

[View source]
def as_i64 #

[View source]
def as_i64? #

[View source]
def as_i? #

[View source]
def as_nil #

[View source]
def as_s #

[View source]
def as_s? #

[View source]
def parse(*args, **options) #

[View source]
def parse(*args, **options, &) #

[View source]
def raw(*args, **options) #

[View source]
def raw(*args, **options, &) #

[View source]
def simulate(filter : String) #

[View source]
def trace : String #

[View source]

Macro Detail

macro mapping(properties) #

[View source]