salesforce-marketingcloud / SFDC-MC-REST-Style-Guide

REST style guidelines
31 stars 9 forks source link

Section on escaping (or just a link to JSON escaping) #37

Closed timmysdaman closed 9 years ago

sprshrp commented 9 years ago

@timmysdaman can you explain what you're looking for here?

aroden-salesforce commented 9 years ago
Linking to JSON RFCs on what charcters are going to be escaped in values.
sprshrp commented 9 years ago

@aroden-salesforce please elaborate with more information on where you'd liek to see that.

sprshrp commented 9 years ago

After further thought, I disagree that we need this. We expect valid JSON. JSON must be properly escaped. If we accept improperly escaped JSON, shame on us. @timmysdaman @aroden-salesforce

aroden-salesforce commented 9 years ago

Think a non-normative link to either/both JSON standard is all that would be required and not hurt anything.

https://tools.ietf.org/html/rfc7159 OR http://www.ecma-international.org/publications/standards/Ecma-404.htm