struct

JoobQ::Encryption::Field(T)

Inherits Struct < Value < Object

The JSON converter behind encrypted_property: converter: Field(String).new("JobClass", "name"). The names are part of the stored value's identity (they are the associated data).

Constructors

new(job : String, field : String)
Source

Instance methods

from_json(pull : JSON::PullParser) : T
Source
to_json(value : T, builder : JSON::Builder) : Nil
Source