Skip to content
JSON

JSON proxy exports for integrations and automation

JSON fits systems that need more than one credential string. Each proxy becomes an object with named fields, and the collection becomes an array. This removes separator ambiguity and allows protocol, expiry, identifiers, and a control link to be added without changing other field meanings.

2 min readReviewed and updated: August 6, 2026

Key points in one minute

  • An object array gives every value an explicit name.
  • Ports remain numbers while identifiers follow a documented type.
  • Interoperable JSON uses UTF-8.
  • Secrets are included only after explicit user approval.

A proxy object schema

A minimal object contains protocol, host, and port. Username, password, changeIpUrl, pid, eid, and expiresAt can be separate optional fields. Field names remain stable and do not change with the user interface language.

Types and missing values

Represent the port as a number, time as an agreed string, and flags as true or false. Omit an unknown value when the schema permits or use null consistently. An empty string should not mean unknown, disabled, and absent at the same time.

Escaping and generation

Use a JSON serializer rather than manual string concatenation. It correctly handles quotes, backslashes, and control characters. Parse the result with a standard parser and, where appropriate, validate it against the integration schema.

Data minimization

Export only required fields by default. Passwords and signed control links can grant live access and need a separate option, warning, and audit event. A control link should stop working after the lease ends even if an old file still exists.

Practical checklist

  1. 1Publish a stable field schema.
  2. 2Preserve number, string, and boolean types.
  3. 3Serialize with a standard JSON library.
  4. 4Validate output with a parser and schema.
  5. 5Exclude passwords and control links by default.

Sources and documentation

This material is based on primary, official, and technical sources. The article is an original summary written for this knowledge base.

  1. 1.RFC Editor / IETF: The JavaScript Object Notation Data Interchange Format
  2. 2.RFC Editor / IETF: Uniform Resource Identifier: Generic Syntax

Continue reading

More articles on related topics

Step-by-step diagnostics

Proxy connection failed: diagnose the exact connection stage

Read

DNS and SOCKS5

DNS over SOCKS5: where the domain name is resolved

Read

Operations

DNS cache and TTL: why a new address is not immediate

Read