Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-5909

Implement a PCore serializer for JSON Machine to Machine

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • PUP 4.6.0
    • None
    • None
    • Hide

      That the serialization support for Pcore contains:

      • ability to serialize rich data types (beyond the constraints imposed by a particular serialization technology).
      • implementation objects should be free of serialization technology concerns; they should deal with Pcore serialization only (that is, no Json, MsgPack etc. knowledge encoded in objects.
      • Serialization should be guided by Pcore meta model associated with an object

      As there is no user facing logic (yet) - it is accepted that features are demonstrated with unit tests.

      Show
      That the serialization support for Pcore contains: ability to serialize rich data types (beyond the constraints imposed by a particular serialization technology). implementation objects should be free of serialization technology concerns; they should deal with Pcore serialization only (that is, no Json, MsgPack etc. knowledge encoded in objects. Serialization should be guided by Pcore meta model associated with an object As there is no user facing logic (yet) - it is accepted that features are demonstrated with unit tests.
    • 2
    • Language 2016-06-29, Language 2016-07-13
    • Not Needed
    • This is part of a larger feature and at this point, this enabling technology is not user facing.

    Description

      This format should be as close as possible to the MsgPack PCore serializer format. This format is useful long term for efficient serialization to environments where MsgPack may not be suitable (Java Script). Short term this is of value to be able to debug and test serialization concepts like tabulation more easily than on MsgPack.

      The output of this serializer is not intended to be human friendly. Its main goal is to be as efficient as possible when two parties need to communicate using JSON.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              henrik.lindberg Henrik Lindberg
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support