Home:ALL Converter>How do I properly project a list of valueMap()?

How do I properly project a list of valueMap()?

Ask Time:2021-09-22T05:26:16         Author:Joe Kennedy

Json Formatter

I am currently trying to project several different "properties" resulting from one vertex that I have located. Figured out 1-1, where it is missing, however multiples I run into a bit of an issue.
I was able to force a representation of individual vertices by grouping by the ID.
This works in Gremlify with a "null" key, but running similar on AWS Neptune I get this exception:

'{"requestId":"9dfb90b3-e479-43b1-a77b-826d71575e78","code":"InternalFailureException","detailedMessage":"Error during serialization: Null key for a Map not allowed in JSON (use a converting NullKeySerializer?) (through reference chain: java.util.ArrayList[0]->java.util.LinkedHashMap[\\"grandchild\\"])"}',

I know I should be sourcing this 'tag' from somewhere - just not sure how. Is it possible to even remove it?

Gremlify Example

Author:Joe Kennedy,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/69275732/how-do-i-properly-project-a-list-of-valuemap