Sha256: d6b002a4cb4a94ba11bef82ac0c75a907615a1608ccdd35e382fd160ea02290c
Contents?: true
Size: 356 Bytes
Versions: 27
Compression:
Stored size: 356 Bytes
Contents
require "multi_json" require_relative "json_document" module Lutaml module Model module JsonAdapter class MultiJsonAdapter < JsonDocument def self.parse(json) data = MultiJson.load(json) new(data) end def to_json(*args) MultiJson.dump(to_h, *args) end end end end end
Version data entries
27 entries across 27 versions & 1 rubygems