Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

json

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
json {
    reorder-list-keys;
}

Hierarchy Level

content_copy zoom_out_map
[edit system configuration input format]

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.

footer-navigation