Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is PSON? #905

Open
berezovskyi opened this issue May 11, 2023 · 0 comments
Open

What is PSON? #905

berezovskyi opened this issue May 11, 2023 · 0 comments

Comments

@berezovskyi
Copy link

berezovskyi commented May 11, 2023

https://linkedin.github.io/rest.li/user_guide/restli_client says it's a format with a MIME type of application/x-pson, https://linkedin.github.io/rest.li/spec/protocol refers to the MIME type application/pson. The best guess I have is that it refers to the PSON spec draft from 2013 (but its Section 6 suggests a plain application/octet-stream MIME type). There is another (?) PSON from Puppet with the MIME types of text/pson and, even more bewildering, just pson. There is also an academic publication that introduces PSON, apparently used by an IoT platform "Thinger.io".

Could you please:

  1. Update the docs to clarify what exactly PSON refers to and if it's distinct from the aforementioned PSON specs, what spec does Rest.li's PSON follow?
  2. Consider changing the name from PSON to something else (or coordinate with Puppet to disambiguate) if it's an enconding distinct from the existing two (three?)? Thinger seems to have renamed their serialization to Protoson https://github.com/thinger-io/Protoson .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant