0
こんにちは、私は石鹸サービスからデータを取得し、JSONにXMLを変換し、私はこのように必要な値取得してい選ぶ:Lodashは深い
console.log(result['soap:Envelope']['soap:Body']['ns2:getFichaGeneralResponse']['return']['instituciones']['datosPrincipales']['registros'][1].valor)
をこのような何かをする方法はありますか?
console.log(_.pick(result, 'registros'))
私は必要な情報を持つオブジェクトを取得できますか?
?その構造は何ですか?このconsole.logはエラー 'console.logをスローします(結果['soap:Envelope'] ['soap:Body'] ['ns2:getFichaGeneralResponse'] ['return'] ['instituciones'] ['datosPrincipales'] [ 'registros'] [1] .valor) ' –