Skip to main content

JSON to XDR

info

Learn more about JSON to XDR conversion tools here.

Accessing the JSON to XDR Converter

To access the JSON to XDR page, select "View XDR" from the left-hand navigation menu, then choose the "JSON to XDR" option from the submenu.

Lab: JSON to XDR page

Inputting JSON Data

On this page, you can enter a valid XDR JSON object into the input field. To get sample data, navigate to the "XDR to JSON" page, then use the "Copy JSON" button located below the JSON output to copy a formatted object for testing purposes.

Understanding the Output

After entering a valid JSON object, the interface displays two key components:

  1. XDR Type – The identified type of XDR data, with an automatically pre-selected value. If the suggested type appears incorrect, you can select an alternative from the dropdown menu. A search function is available to help locate the appropriate type. Lab: XDR type dropdown
  2. XDR Output – A base-64 encoded XDR generated based on the selected XDR type. You can copy this output by clicking the copy button located below the field.

Lab: JSON to XDR output