struct Bool
- Bool
- Value
- Object
Overview
Bool has only two possible values: true
and false
. They are constructed using these literals:
true # A Bool that is true
false # A Bool that is false
Defined in:
Instance Method Summary
-
#to_canonical_extjson(builder : JSON::Builder)
Serialize to a canonical extended json representation.
Instance Method Detail
def to_canonical_extjson(builder : JSON::Builder)
#
Serialize to a canonical extended json representation.
NOTE see https://github.com/mongodb/specifications/blob/master/source/extended-json.rst