2018-12-22 09:22:25 +01:00
|
|
|
<!--
|
|
|
|
Copyright JS Foundation and other contributors, http://js.foundation
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
-->
|
|
|
|
|
2020-01-15 03:40:48 +01:00
|
|
|
<script type="text/html" data-help-name="json">
|
rework of DE translation (#2806)
* started rework of translation to DE, added translation rules and dictionary
* reworks DE translation of JSONata /editor-client/locales/de/jsonata.json
* rework DE translation of editor-client
* moved /editor-client/locales/de/README.md to Wiki https://github.com/node-red/node-red/wiki/Design:-i18n-de
* Update README.md
* Update README.md
* Create README.md
* Create README.md
* fixed #2: "Sie müssen ..., um ... zu können"
* fixed #3
* fixed #4 and removed unnecessary spaces
* fixed #5
* fixed #6, added missing dots, removed unnecessary spaces
* fixed #7, #8, #9
* fixed #10, #11, #12, #13, #14, #15
* fixed #17, #18, 19
* fixed #19
* moved /editor-client/locales/de/dictionary.csv to https://github.com/heikokue/node-red-designs/blob/i18n-de/designs/i18n-de/dictionary.csv
* reworked DE translation of runtime
* fine-tuned DE translation of editor-client
* reworked DE translation of common nodes, fine-tuned editor-client
* reworked DE translation of all nodes, fine-tuned editor-client, intotips, jsonata & runtime
* small i18n fixes
2021-03-12 14:07:12 +01:00
|
|
|
<p>Konvertierung zwischen JSON-Zeichenfolge (string) und JavaScript-Objektdarstellung in beide Richtungen.</p>
|
|
|
|
<h3>Eingangsdaten</h3>
|
2018-12-22 09:22:25 +01:00
|
|
|
<dl class="message-properties">
|
2021-03-31 17:51:40 +02:00
|
|
|
<dt>payload <span class="property-type">object | string</span></dt>
|
|
|
|
<dd>JavaScript-Objekt oder JSON-Zeichenfolge (string).</dd>
|
|
|
|
<dt>schema <span class="property-type">object</span></dt>
|
|
|
|
<dd>Optionales JSON-Schema-Objekt, gegen das das JSON-Objekt validiert wird.</dd>
|
2018-12-22 09:22:25 +01:00
|
|
|
</dl>
|
rework of DE translation (#2806)
* started rework of translation to DE, added translation rules and dictionary
* reworks DE translation of JSONata /editor-client/locales/de/jsonata.json
* rework DE translation of editor-client
* moved /editor-client/locales/de/README.md to Wiki https://github.com/node-red/node-red/wiki/Design:-i18n-de
* Update README.md
* Update README.md
* Create README.md
* Create README.md
* fixed #2: "Sie müssen ..., um ... zu können"
* fixed #3
* fixed #4 and removed unnecessary spaces
* fixed #5
* fixed #6, added missing dots, removed unnecessary spaces
* fixed #7, #8, #9
* fixed #10, #11, #12, #13, #14, #15
* fixed #17, #18, 19
* fixed #19
* moved /editor-client/locales/de/dictionary.csv to https://github.com/heikokue/node-red-designs/blob/i18n-de/designs/i18n-de/dictionary.csv
* reworked DE translation of runtime
* fine-tuned DE translation of editor-client
* reworked DE translation of common nodes, fine-tuned editor-client
* reworked DE translation of all nodes, fine-tuned editor-client, intotips, jsonata & runtime
* small i18n fixes
2021-03-12 14:07:12 +01:00
|
|
|
<h3>Ausgangsdaten</h3>
|
2018-12-22 09:22:25 +01:00
|
|
|
<dl class="message-properties">
|
2021-03-31 17:51:40 +02:00
|
|
|
<dt>payload <span class="property-type">object | string</span></dt>
|
2018-12-22 09:22:25 +01:00
|
|
|
<dd>
|
|
|
|
<ul>
|
rework of DE translation (#2806)
* started rework of translation to DE, added translation rules and dictionary
* reworks DE translation of JSONata /editor-client/locales/de/jsonata.json
* rework DE translation of editor-client
* moved /editor-client/locales/de/README.md to Wiki https://github.com/node-red/node-red/wiki/Design:-i18n-de
* Update README.md
* Update README.md
* Create README.md
* Create README.md
* fixed #2: "Sie müssen ..., um ... zu können"
* fixed #3
* fixed #4 and removed unnecessary spaces
* fixed #5
* fixed #6, added missing dots, removed unnecessary spaces
* fixed #7, #8, #9
* fixed #10, #11, #12, #13, #14, #15
* fixed #17, #18, 19
* fixed #19
* moved /editor-client/locales/de/dictionary.csv to https://github.com/heikokue/node-red-designs/blob/i18n-de/designs/i18n-de/dictionary.csv
* reworked DE translation of runtime
* fine-tuned DE translation of editor-client
* reworked DE translation of common nodes, fine-tuned editor-client
* reworked DE translation of all nodes, fine-tuned editor-client, intotips, jsonata & runtime
* small i18n fixes
2021-03-12 14:07:12 +01:00
|
|
|
<li>Wenn die Eingangsdaten eine JSON-Zeichenfolge (string) darstellen, wird versucht sie in ein JavaScript-Objekt zu analysieren (parsen).</li>
|
|
|
|
<li>Wenn die Eingangsdaten ein JavaScript-Objekt darstellen, wird eine JSON-Zeichenfolge (string) erstellt.
|
|
|
|
Die Zeichenfolge (string) kann optional gut leserlich formatiert werden.</li>
|
2018-12-22 09:22:25 +01:00
|
|
|
</ul>
|
|
|
|
</dd>
|
2021-03-31 17:51:40 +02:00
|
|
|
<dt>schemaError <span class="property-type">array</span></dt>
|
2021-10-28 11:10:22 +02:00
|
|
|
<dd>Wenn die JSON-Schema-Validierung fehlschlägt, wird für den catch-Node eine <code>schemaError</code>-Eigenschaft erstellt,
|
2021-03-31 17:51:40 +02:00
|
|
|
die ein Array von Fehlern enthält.</dd>
|
2018-12-22 09:22:25 +01:00
|
|
|
</dl>
|
|
|
|
<h3>Details</h3>
|
rework of DE translation (#2806)
* started rework of translation to DE, added translation rules and dictionary
* reworks DE translation of JSONata /editor-client/locales/de/jsonata.json
* rework DE translation of editor-client
* moved /editor-client/locales/de/README.md to Wiki https://github.com/node-red/node-red/wiki/Design:-i18n-de
* Update README.md
* Update README.md
* Create README.md
* Create README.md
* fixed #2: "Sie müssen ..., um ... zu können"
* fixed #3
* fixed #4 and removed unnecessary spaces
* fixed #5
* fixed #6, added missing dots, removed unnecessary spaces
* fixed #7, #8, #9
* fixed #10, #11, #12, #13, #14, #15
* fixed #17, #18, 19
* fixed #19
* moved /editor-client/locales/de/dictionary.csv to https://github.com/heikokue/node-red-designs/blob/i18n-de/designs/i18n-de/dictionary.csv
* reworked DE translation of runtime
* fine-tuned DE translation of editor-client
* reworked DE translation of common nodes, fine-tuned editor-client
* reworked DE translation of all nodes, fine-tuned editor-client, intotips, jsonata & runtime
* small i18n fixes
2021-03-12 14:07:12 +01:00
|
|
|
<p>Standardmäßig verarbeitet der Node <code>msg.payload</code>,
|
|
|
|
kann aber auch eine beliebige Nachrichteneigenschaft konvertieren.</p>
|
|
|
|
<p>Die Konvertierungsrichtung kann im Node auch vorgegeben werden, um eine bestimmte Ziel-Kodierung sicherzustellen.
|
2021-10-28 11:10:22 +02:00
|
|
|
Dies kann z.B. zusammen mit dem http in-Node benutzt werden, um sicherzustellen,
|
rework of DE translation (#2806)
* started rework of translation to DE, added translation rules and dictionary
* reworks DE translation of JSONata /editor-client/locales/de/jsonata.json
* rework DE translation of editor-client
* moved /editor-client/locales/de/README.md to Wiki https://github.com/node-red/node-red/wiki/Design:-i18n-de
* Update README.md
* Update README.md
* Create README.md
* Create README.md
* fixed #2: "Sie müssen ..., um ... zu können"
* fixed #3
* fixed #4 and removed unnecessary spaces
* fixed #5
* fixed #6, added missing dots, removed unnecessary spaces
* fixed #7, #8, #9
* fixed #10, #11, #12, #13, #14, #15
* fixed #17, #18, 19
* fixed #19
* moved /editor-client/locales/de/dictionary.csv to https://github.com/heikokue/node-red-designs/blob/i18n-de/designs/i18n-de/dictionary.csv
* reworked DE translation of runtime
* fine-tuned DE translation of editor-client
* reworked DE translation of common nodes, fine-tuned editor-client
* reworked DE translation of all nodes, fine-tuned editor-client, intotips, jsonata & runtime
* small i18n fixes
2021-03-12 14:07:12 +01:00
|
|
|
dass die Nutzdaten (Payload) ein analysiertes (parsed) Objekt ist,
|
|
|
|
auch wenn eine eingehende Anfrage seinen Inhaltstyp nicht korrekt eingestellt hat,
|
2021-10-28 11:10:22 +02:00
|
|
|
damit der http in-Node die Konvertierung durchführen kann.</p>
|
rework of DE translation (#2806)
* started rework of translation to DE, added translation rules and dictionary
* reworks DE translation of JSONata /editor-client/locales/de/jsonata.json
* rework DE translation of editor-client
* moved /editor-client/locales/de/README.md to Wiki https://github.com/node-red/node-red/wiki/Design:-i18n-de
* Update README.md
* Update README.md
* Create README.md
* Create README.md
* fixed #2: "Sie müssen ..., um ... zu können"
* fixed #3
* fixed #4 and removed unnecessary spaces
* fixed #5
* fixed #6, added missing dots, removed unnecessary spaces
* fixed #7, #8, #9
* fixed #10, #11, #12, #13, #14, #15
* fixed #17, #18, 19
* fixed #19
* moved /editor-client/locales/de/dictionary.csv to https://github.com/heikokue/node-red-designs/blob/i18n-de/designs/i18n-de/dictionary.csv
* reworked DE translation of runtime
* fine-tuned DE translation of editor-client
* reworked DE translation of common nodes, fine-tuned editor-client
* reworked DE translation of all nodes, fine-tuned editor-client, intotips, jsonata & runtime
* small i18n fixes
2021-03-12 14:07:12 +01:00
|
|
|
<p>Wenn der Node auf Zeichenfolgen-Eingang (string) eingestellt ist und es einen String empfängt,
|
|
|
|
werden keine weiteren Prüfungen der Eigenschaft durchgeführt.
|
|
|
|
Der Node prüft weder, ob die Zeichenfolge (string) ein gültiges JSON enthält, noch wird er ihn neu formatieren,
|
|
|
|
wenn die Format-Option ausgewählt ist.</p>
|
|
|
|
<p>Für weitere Details über das JSON-Schema siehe die
|
|
|
|
<a href="http://json-schema.org/latest/json-schema-validation.html">JSON-Schema-Spezifikation</a>.</p>
|
2018-12-22 09:22:25 +01:00
|
|
|
</script>
|