struct

Liquid::Context

Inherits Struct < Value < Object

Constructors

new(strict : Bool = false)
Source

Instance methods

[]=(key, value)
Source
[]?(key : String) : JSON::Any | Nil
Source
get(key, strict : Bool = @strict)

key can include . (property/method access) and/or [] (array index)

Source
index_error(key, strict : Bool)
Source
key_missing(key, strict : Bool)
Source
parse_error(key, strict : Bool, message : String | Nil = nil)
Source
set(key, val)

alias for []=(key, val)

Source
strict
Source
strict=(strict : Bool)
Source