Details
-
Task
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
None
-
2
-
Platform Server 2014-10-29
Description
The PSON format uses a encapsulation containing a document_type on some endpoints. We should remove this for Puppet 4.0 so PSON works the same as other serialization formats.
Here is a example of code that adds this information to the API reply (there's a bunch of places that does this):
https://github.com/puppetlabs/puppet/blob/puppet-4/lib/puppet/resource/catalog.rb#L390-L403
And here is the code that throws away that info:
https://github.com/puppetlabs/puppet/blob/puppet-4/lib/puppet/network/formats.rb#L157-L167