Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

json

Syntax

Hierarchy Level

Description

Configure parameters for Junos configuration data in JavaScript Object Notation (JSON) format.

Options

reorder-list-keys

When you load JSON configuration data on the device, reorder list entries so that list keys precede other siblings and appear in the order required by the schema. Configuring this option enables you to load JSON configuration data that contains unordered list entries, that is, entries where the list key is not necessarily the first element.

Note:

When you configure the reorder-list-keys statement, the load operation can take significantly longer to parse the configuration, depending on the size of the configuration and the number of lists. For large configurations or configurations with many lists, we recommend that you instead use the request system convert-json-configuration command to convert the configuration before loading it on the device.

Required Privilege Level

system—To view this statement in the configuration.

system-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 22.1R1 and Junos OS Evolved Release 22.1R1.