1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Update json node docs to add caveat on ensuring JSON

This commit is contained in:
Nick O'Leary 2018-01-14 23:37:39 +00:00
parent dd23e03342
commit 543a2b9dc7
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -51,6 +51,10 @@
between the two. This can be used, for example, with the <code>HTTP In</code> between the two. This can be used, for example, with the <code>HTTP In</code>
node to ensure the payload is a parsed object even if an incoming request node to ensure the payload is a parsed object even if an incoming request
did not set its content-type correctly for the HTTP In node to do the conversion.</p> did not set its content-type correctly for the HTTP In node to do the conversion.</p>
<p>If the node is configured to ensure the property is encoded as a String and it
receives a String, no further checks will be made of the property. It will
not check the String is valid JSON nor will it reformat it if the format option
is selected.</p>
</script> </script>