class Srcom::EmbeddedCategoryConverter

Overview

BUG This is necessary as - when embedded - the category field is either a full Category object or an empty array. This should only occur in very rare cases, as this is a bug in the API, which is also undocumented.

Defined in:

srcr/mappings/category/embedded_category_converter.cr

Class Method Summary

Class Method Detail

def self.from_json(pull : JSON::PullParser) #

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

[View source]