WARNING: This server provides a static reference view of the NetKernel documentation. Links to dynamic content do not work. For the best experience we recommend you install NetKernel and view the documentation in the live system .

Endpoint
Name:json.JSONFromCSV
Description:
Id:json.JSONFromCSV
Category:accessor
Identifier Syntax

json.JSONFromCSV is an accessor using Active URI syntax with the following base identifiers:

Base
active:JSONFromCSV

and the following arguments: (for more details on argument passing details see here)

ArgumentRulesTypingDescription
operand
Mandatory
Representation (Determinate String)input CSV document
Request Verbs

The following verb is supported:

Verb
SOURCE
Response

The following response representations can be returned for SOURCE requests:

SOURCE Representations
JSONObject

This accessor throws no documented exceptions.

Import Requirements

To use json.JSONFromCSV accessor you must import the module urn:org:netkernel:json:core:

<import>
  <uri>urn:org:netkernel:json:core</uri>
</import>

Example

This CSV resource...

a, b
1, 2

will be converted to the following JSON

[{"a":"1","b":"2"}]