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

Fix invalid JSON data in template node (#2322)

This commit is contained in:
Kazuhito Yokoi 2019-10-10 18:34:10 +09:00 committed by Dave Conway-Jones
parent a1e10e99fa
commit ff4d58f648
4 changed files with 11 additions and 9 deletions

View File

@ -36,8 +36,10 @@
<pre> Hallo {{payload.name}}. Heute ist {{date}} </pre>
<p> eine Nachricht empfangt, die folgendes enthält:
<pre>{
Datum: "Montag"
Payload: { Name: "Fred"}
date: "Montag",
payload: {
name: "Fred"
}
}</pre>
<p> wird die resultierende Nachrich wie folgt sein:
<pre> Hallo Fred. Heute ist Montag </pre>

View File

@ -36,7 +36,7 @@
<pre>Hello {{payload.name}}. Today is {{date}}</pre>
<p>receives a message containing:
<pre>{
date: "Monday"
date: "Monday",
payload: {
name: "Fred"
}

View File

@ -34,9 +34,9 @@
<pre>こんにちは{{payload.name}}さん。今日は{{date}}です。</pre>
<p>というテンプレートに対して、
<pre>{
date: "月曜日"
date: "月曜日",
payload: {
name: "山田",
name: "山田"
}
}</pre>
<p>というメッセージを受信した場合、</p>

View File

@ -34,9 +34,9 @@
<pre>안녕하세요, {{payload.name}}씨. 오늘은 {{date}}입니다.</pre>
<p>라는 템플릿에 대해,
<pre>{
date: "월요일"
date: "월요일",
payload: {
name: "홍길동",
name: "홍길동"
}
}</pre>
<p>이라는 메세지를 수신한 경우,</p>