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

62
Vistas
Array of string to JSON

Is it possible to build a JSON from an array of strings. such that the input is of the format str = ["a.b.c" , "a" , "a.b.d" , "t" ] and the corresponding output as JSON eg

data = {a : 
      {b : 
         {c : '',
          d : ''
         }            
      }
    t : ''
   } 
7 months ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos