<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>13 Apr 2018 10:04:40 Z</lastBuildDate><pubDate>12 Apr 2018 21:39:59 Z</pubDate><description>Hi, I need some help to create the next json structure to then send to a web service.&#13;
&#13;
[code:text]&#13;
{&#13;
  "originalNumber": "A:537",&#13;
  "encabezado": {&#13;
    "receptor": {&#13;
      "tipoDocRecep": "2",&#13;
      "docRecep": "110160220010"&#13;
    },&#13;
    "idDoc": {&#13;
      "tipoCFE": "111",&#13;
      "fchEmis": "2018-03-28",&#13;
      "fmaPago": "1"&#13;
    },&#13;
    "emisor": {&#13;
      "cdgDGISucur": "2",&#13;
      "rucEmisor": "110097770012"&#13;
    },&#13;
    "totales": {&#13;
      "mntPagar": "2200",&#13;
      "tpoMoneda": "UYU"&#13;
    }&#13;
  },&#13;
  "referenceDocument": "null",&#13;
  "referenceDetail": "null",&#13;
  "detalle": [&#13;
    {&#13;
      "nroLinDet": "1",&#13;
      "precioUnitario": "1000",&#13;
      "descuentoPorcentaje": "0.0",&#13;
      "nomItem": "Prueba de factura",&#13;
      "uniMed": "N/A",&#13;
      "cantidad": "1",&#13;
      "montoDescuento": "0.00",&#13;
      "indFact": "2",&#13;
      "montoItem": "1000"&#13;
    },&#13;
    {&#13;
      "nroLinDet": "2",&#13;
      "precioUnitario": "1000",&#13;
      "descuentoPorcentaje": "0.0",&#13;
      "nomItem": "otro renglon",&#13;
      "uniMed": "N/A",&#13;
      "cantidad": "1",&#13;
      "montoDescuento": "0.00",&#13;
      "indFact": "2",&#13;
      "montoItem": "1000"&#13;
    }&#13;
  ]&#13;
}&#13;
[/code]&#13;
&#13;
is there any object I can use to manage this or must I use a simple string  ?? &#13;
I am using WinDev 22&#13;
&#13;
Thanks so much.</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/65202-create-json-stucture/read.awp</link><title>Create JSON stucture</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>DELFI INFO-Chris</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/65202-create-json-stucture-65212/read.awp</comments><pubDate>13 Apr 2018 10:04:40 Z</pubDate><description>Hi,&#13;
&#13;
you could use a Variant , like this :&#13;
&#13;
[code]&#13;
_json_data is a Variant&#13;
&#13;
_json_data.originalNumber="A:537"&#13;
_json_data…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/65202-create-json-stucture-65212/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/65202-create-json-stucture-65212/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/65202-create-json-stucture/read.awp">Create JSON stucture</source><title>Re: Create JSON stucture</title></item></channel></rss>
