¡Caminando hacia el éxito!

Aprende en Comunidad

Avalados por :

Cómo eliminar la raíz entre cada registro al convertir XML a JSON: sugerencias y soluciones

  • Creado 01/03/2024
  • Modificado 01/03/2024
  • 8 Vistas
0
Cargando...

Hola,

Estoy obteniendo la siguiente salida después del convertidor de xml a json. ¿Cómo eliminar la raíz entre cada registro?

{"EmployeeCode":"KIM143291","TitleTypeCode":"MRS","Initials":"AM","FirstName":"Ashley","SecondName":"Long","LastName":"McBain","MaidenName":"","BirthDate":"1976-09-18","Gender":"F","NationalityCountryCode":"USA","Addresses":[{"UseWork":"FALSE","UsePhysical":"TRUE","UsePostal":"TRUE","CareOf":"","AddressServiceTypeCode":"STREET","CityTown":"Cape Town","SuburbDistrict":"","DistrictCode":"","Province":"","CountryCode":"ZAF","PostalCode":"."}],"IDNumber":"784197620941829","Department":"90163","JobTitleTypeCode":"10000518","NatureOfContractCode":"PERM","DateEngaged":"2022-05-01","TerminationDate":"9999-12-31","RaceGroupCode":"","TaxNo":"784-1976-2094182-9","Disabled":"","DisabilityTypeCode":"","TerminationReason":"","PeriodSalary":"100.0","ForeignIncome":"FALSE","RWA_EMP_TYPE":"Perm_S","EntityCode":"477","GenEntityTypeCode":"INDV","GenEntitySubTypeCode":"EMPL","RemunerationEarnDefCode":"BASIC_SALARY","LeavePolicyCode":"STD_LVE","FinalCalcNow":"2","LeaveStartDate":"2022-05-01","LegallyRetiredforTaxPurpose":"FALSE","OverrideAnnualBonusCalcRecurrence":"FALSE","CalendarMonth":"12","TaxStatusCode":"ST","TaxStartDate":"2021-01-01","TaxCalculation":"A","BankAccounts":[{"AccountHolderRelationship":"O","AccountName":"Ashley Long McBain","BankCode":"EBILAEAD","AccountTypeCode":"ARE","AccountNo":"014055917901","BankBranchID":"302620122"}],"HoursPerPeriod":"173.36","HoursPerDay":"8","CreditLineNumber":"AE940260001014055917901","LanguageTypeCode":"ENG","RSSBNumber":"EmiratesID"}

Por favor, sugiera.

Gracias,

Rupa

Pedro Pascal
Se unió el 07/03/2018
Pinterest
Telegram
Linkedin
Whatsapp

1 Respuestas

0
Cargando...

Hola Rupa, ¿Está seleccionada la opción de Suprimir Elemento Raíz JSON en el Convertidor de XML a JSON?

Respondido el 15/04/2024
LUCIANO RIOJA GHIOTTO
Se unió el 13/07/2019

contacto@primeinstitute.com

(+51) 1641 9379
(+57) 1489 6964

© 2024 Copyright. Todos los derechos reservados.

Desarrollado por Prime Institute

¡Hola! Soy Diana, asesora académica de Prime Institute, indícame en que curso estas interesado, saludos!
Hola ¿Puedo ayudarte?