Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix JSON encoding of
creators
field.
The currently code generates JSON output like: ``` {"data":{"creators":[[{"address":"FEg3mmpcrcRsVTuc2n3oghHpRvAtEJJau4KWjaPpLKcA","share":0,"verified":true},{"address":"B5MPcaEGNF3iZH5kLjPPfhy3ieXbQ8Cgb77zSZD6gNSn","share":11,"verified":false},{"address":"uVZUoHE3W7YExtqU6cP7Vygk48noZvrMJorpuvHn1d7","share":7,"verified":false},{"address":"GR2uBCDumKagmEiGDjYsq8GjKogmbJwnfpJ14G7gxhB8","share":31,"verified":false},{"address":"GviBsqVaruw32UP6C4YMFhBffJFmoyFt65qFnJPUcgta","share":51,"verified":false}]],"name":"Galactic Gecko #5452","seller_fee_basis_points":500,"symbol":"GGSG","uri":"https://arweave.net/ULcteflMWuWWj9iCbK773xRgLhFEtwjVr8LTOy9ROoA"},"edition_nonce":255,"is_mutable":true,"key":"MetadataV1","mint":"1257AGGiM3zaYMj6LycLM1PaG8aVnk1DXHxda7X2LB2H","primary_sale_happened":true,"update_authority":"CeS4fWuRz44kUf5aHJZW62LD8GJkPabLsChA5Zn2rLiS"} ``` Where `creators` is in a double array. Remove the outer array for proper encoding.
- Loading branch information