module ShortVersionConverter

Overview

Converter to be used with JSON::Serializable to serialize a ShortVersion.

Defined in:

short_version/converter.cr

Class Method Summary

Class Method Detail

def self.from_json(value : JSON::PullParser) : ShortVersion #

Reads a serialized ShortVersion by value from pull.

See .to_json for reference.

Raises JSON::ParseException if the deserialization fails.


[View source]
def self.to_json(value : ShortVersion, json : JSON::Builder) : Nil #

Serializes a ShortVersion value as a String from value.


[View source]