JSON a GraphQL
.JSON
JSON a GraphQL: Processa JSON localment al navegador sense pujar dades amb sortida GraphQL neta.
Exemple pràctic
GraphQL SDL (Oct 2021)Entrada
{
"service": "structfmt-api",
"version": 2,
"active": true,
"owner": { "name": "Ada Lovelace", "region": "us-east" },
"tags": ["json", "yaml", "schema"],
"metrics": [
{ "id": 1, "latencyMs": 14.2, "ok": true },
{ "id": 2, "latencyMs": 19.8, "ok": true }
]
...Sortida
type Root {
service: String!
version: Int!
active: Boolean!
owner: Owner!
tags: [String!!]!
metrics: [MetricsItem!!]!
}
type MetricsItem {
...StructFmt
100% local · Sense pujades
Processa JSON localment al navegador sense pujar dades amb sortida GraphQL neta.
Formata i valida
JSON a GraphQL.
Esquemes i codi
Sortida: GraphQL.
Consulta i compara
Copia / Baixa.
JSON a GraphQL
- 1Entrada: JSON (Obre fitxer).
- 2Transforma: JSON → GraphQL.
- 3Sortida: GraphQL (Copia / Baixa).
FAQ
100% local · Sense pujades (JSON)?
Processa JSON localment al navegador sense pujar dades amb sortida GraphQL neta.
JSON a GraphQL (JSON → GraphQL)?
Processa JSON localment al navegador sense pujar dades amb sortida GraphQL neta. (JSON → GraphQL).
Pas següent (GraphQL)?
Pas següent: StructFmt (GraphQL).