Sha256: b638abc29b164819213e9814ad2e9206a47c321d74e3508c5feccda5daf0b247
Contents?: true
Size: 353 Bytes
Versions: 19
Compression:
Stored size: 353 Bytes
Contents
require "json" require_relative "json_document" module Lutaml module Model module JsonAdapter class StandardJsonAdapter < JsonDocument def self.parse(json) JSON.parse(json, create_additions: false) end def to_json(*args) JSON.generate(@attributes, *args) end end end end end
Version data entries
19 entries across 19 versions & 1 rubygems