Company logo
  • Empleos
  • Bootcamp
  • Acerca de nosotros
  • Para profesionales
    • Inicio
    • Empleos
    • Cursos y retos
    • Preguntas
    • Profesores
    • Bootcamp
  • Para empresas
    • Inicio
    • Nuestro proceso
    • Planes
    • Pruebas
    • Nómina
    • Blog
    • Comercial
    • Calculadora

0

100
Vistas
How to Map Nested JSON key,values to the Excel columns, using Javascript?

I need to map a nested JSON request body, to the specific columns defined in the excel. I have tried using the . notation, but it is not working.

For parsing the input file, I am using the following -

var transform = function(inputJson) {
    var input = JSON.parse(inputJson);
   
    var request = {
        method: 'POST',
        url: '{{API_url}}',
        httpVersion: 'HTTP/1.1',
        cookies: [],
        headers: [{
            "name": "",
            "value": "",
            "comment": ""
        }],
        queryString: [],
        postData: {
            "mimeType": "application/json;charset=UTF-8",
            "text": JSON.stringify(convert(input))
        }
    };
    return JSON.stringify(request);
}
7 months ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos