JSON入力ステップで次を処理しようとしています:
{"address":[
{"AddressId":"1_1","Street":"A Street"},
{"AddressId":"1_101","Street":"Another Street"},
{"AddressId":"1_102","Street":"One more street", "Locality":"Buenos Aires"},
{"AddressId":"1_102","Locality":"New York"}
]}
ただし、これは不可能のようです:
Json Input.0 - ERROR (version 4.2.1-stable, build 15952 from 2011-10-25 15.27.10 by buildguy) :
The data structure is not the same inside the resource!
We found 1 values for json path [$..Locality], which is different that the number retourned for path [$..Street] (3509 values).
We MUST have the same number of values for all paths.
このステップではIgnore Missing Pathフラグが提供されますが、すべての行で同じパスが見つからない場合にのみ機能します。その場合、そのステップは期待どおりに機能し、欠損値を null で埋めます。
これは、私の優先事項の 1 つであった不均等なデータを読み取るこのステップの能力を制限します。
私のステップ フィールドは次のように定義されています。
何か不足していますか?これは正しい動作ですか?