node-red/packages/node_modules/@node-red/nodes/locales/ko/parsers/70-CSV.html

45 lines
2.9 KiB
HTML

<!--
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.
-->
<script type="text/html" data-help-name="csv">
<p>CSV형식의 문자열과 JavaScript오브젝트 표현의 사이에서 쌍방향의 변환을 수행합니다.</p>
<h3>입력</h3>
<dl class="message-properties">
<dt>payload<span class="property-type">오브젝트 | 배열 | 문자열</span></dt>
<dd>JavaScript오브젝트, 배열, CSV문자열 하나</dd>
</dl>
<h3>출력</h3>
<dl class="message-properties">
<dt>payload<span class="property-type">오브젝트 | 배열 | 문자열</span></dt>
<dd>
<ul>
<li>입력이 문자열인 경우, CSV로서 해석하여 CSV의 행을 /값으로 구성된 JavaScript오브젝트를 생성합니다.
행마다 메세지를 송신할지, 오브젝트의 배열로 하나의 메세지를 송신할지를 선택할 있습니다.</li>
<li>입력이 JavaScript오브젝트인 경우, CSV문자열로의 변환을 수행합니다.</li>
<li>입력이 기본형인 배열의 경우, 1행의 CSV문자열로 변환합니다.</li>
<li>입력이 배열의 배열, 혹은 오브젝트의 배열인 경우, 복수행의 CSV문자열로 변환합니다.</li>
</ul>
</dd>
</dl>
<h3>상세</h3>
<p>'열 이름' 컬럼명의 리스트를 지정할 있습니다. CSV에서 오브젝트로 변환을 수행할 , 컬럼명을 프로퍼티명으로 사용합니다. '열 이름'대신에 CSV데이터의 첫번째 행에 컬럼명을 포함시킬 있습니다.</p>
<p>CSV로의 변환을 수행할 때에는, 오브젝트에서 취득해야 프로퍼티와 순서를 '열 이름' 참조하여 결정합니다.</p>
<p>입력이 배열인 경우에는, '열 이름' 컬럼명을 나타내는 행의 출력이 지정된 경우에만 사용합니다.</p>
<p><code>parts</code> , .</p>
<p>CSV를 복수의 메세지로 변환하여 출력할 경우, 출력이 메세지열이 되도록 <code>parts</code> .</p>
<p><b>:</b> , ' ' .</p>
</script>