enum

Amazonite::SsmV1::DocumentFormat

Inherits Enum < Comparable < Value < Object

Constants

Yaml = 0
Json = 1
Text = 2

Class methods

from_json(pull : JSON::PullParser) : AS::DocumentFormat
Source
to_json(e : DocumentFormat, json : JSON::Builder) : Nil
Source

Instance methods

json?

Returns true if this enum value equals Json

Source
text?

Returns true if this enum value equals Text

Source
yaml?

Returns true if this enum value equals Yaml

Source