FME Transformers: 2026.1

Categories
Format Specific
Web

Web

JSONAppender

Assembles multiple JSON fragments into a single JSON document.

The transformer has two input ports: one accepting a single JSON document, and another accepting multiple JSON fragments.

The JSONAppender appends each fragment to the end of the JSON array specified by the JSON Pointer to Append Location parameter. Each fragment is inserted as a single JSON value, regardless of type. If the key matching the final token in the pointer does not exist at the specified location, the transformer will create that key and initialize it as a new array before appending the fragments.

Optional Input Ports

This transformer has two modes, depending on whether input features are received via the Document and Fragment ports.

  • Input-driven: When input features are connected, the transformer runs according to the features received.
  • Run Once: If the input ports are not used, the transformer runs one time.

JSON Pointers

A JSON pointer is a simple mechanism to refer to values within a JSON document. It is defined by RFC 6901 and consists of a sequence of tokens separated by forward slashes (/). Each token selects an object key or array index. An empty JSON Pointer refers to the root JSON value. For example, given the JSON document:

Copy
{
  "metadata" : {
    "title" : "Value List",
    "count" : 2
  }
  "items" : ["a", "b"]
}

The following JSON Pointers evaluate as:

“”

The entire document

“/metadata/title”

"Value List"

“/items”

["a", "b"]

“/items/0”

"a"

The JSON Pointer is used by this transformer to determine where incoming fragments should be appended.

See JavaScript Object Notation (JSON) Pointer at the IETF (RFC 6901).

Configuration

Input Ports

Output Ports

Parameters

Editing Transformer Parameters

Transformer parameters can be set by directly entering values, using expressions, or referencing other elements in the workspace such as attribute values or user parameters. Various editors and context menus are available to assist. To see what is available, click beside the applicable parameter.

For more information, see Transformer Parameter Menu Options.

Reference

Processing Behavior

Group-Based

Feature Holding

Yes

Dependencies None
Aliases  
History  

FME Online Resources

The FME Community and Support Center Knowledge Base have a wealth of information, including active forums with 35,000+ members and thousands of articles.

Search for all results about the JSONAppender on the FME Community.

 

Examples may contain information licensed under the Open Government Licence – Vancouver, Open Government Licence - British Columbia, and/or Open Government Licence – Canada.