Module: Puppet::Pops::Serialization
- Defined in:
- lib/puppet/pops.rb,
lib/puppet/pops/serialization.rb,
lib/puppet/pops/serialization/json.rb,
lib/puppet/pops/serialization/object.rb,
lib/puppet/pops/serialization/extension.rb,
lib/puppet/pops/serialization/json_path.rb,
lib/puppet/pops/serialization/serializer.rb,
lib/puppet/pops/serialization/deserializer.rb,
lib/puppet/pops/serialization/time_factory.rb,
lib/puppet/pops/serialization/abstract_reader.rb,
lib/puppet/pops/serialization/abstract_writer.rb,
lib/puppet/pops/serialization/instance_reader.rb,
lib/puppet/pops/serialization/instance_writer.rb,
lib/puppet/pops/serialization/to_data_converter.rb,
lib/puppet/pops/serialization/from_data_converter.rb
Defined Under Namespace
Modules: Extension, InstanceReader, InstanceWriter, JSON, JsonPath Classes: AbstractReader, AbstractWriter, Deserializer, FromDataConverter, ObjectReader, ObjectWriter, SerializationError, Serializer, TimeFactory, ToDataConverter
Constant Summary collapse
- PCORE_TYPE_KEY =
'__pcore_type__'.freeze
- PCORE_VALUE_KEY =
Key used when the value can be represented as, and recreated from, a single string that can be passed to a ‘from_string` method or an array of values that can be passed to the default initializer method.
'__pcore_value__'.freeze
- PCORE_TYPE_HASH =
Type key used for hashes that contain keys that are not of type String
'Hash'.freeze
- PCORE_TYPE_SENSITIVE =
Type key used for symbols
'Sensitive'.freeze
- PCORE_TYPE_SYMBOL =
Type key used for symbols
'Symbol'.freeze
- PCORE_TYPE_DEFAULT =
Type key used for Default
'Default'.freeze
- PCORE_LOCAL_REF_SYMBOL =
Type key used for document local references
'LocalRef'.freeze
- MAX_INTEGER =
0x7fffffffffffffff
- MIN_INTEGER =
-0x8000000000000000
Class Method Summary collapse
Class Method Details
.not_implemented(impl, method_name) ⇒ Object
3 4 5 |
# File 'lib/puppet/pops/serialization.rb', line 3 def self.not_implemented(impl, method_name) raise NotImplementedError, "The class #{impl.class.name} should have implemented the method #{method_name}()" end |