vipulkashyap
Explore posts from serversJJanusGraph
•Created by vipulkashyap on 1/28/2024 in #questions
Support to query vertex with custom id in Gremlin.Net SDK
6 replies
ATApache TinkerPop
•Created by vipulkashyap on 5/26/2023 in #questions
Serializing graph responses for ASPNetCore Web APIs
I am hitting issues serializing graph responses in .net (with System.Text.Json and Newtonsoft) when the returned data is complex (nested dictionaries with object keys) because the libraries don't know how to serialize the inner dictionary objects. Since the data returned for every query can take different form and shape, I am not sure if I can resolve this using CustomConvertors. How do others handle these generic responses? I was looking into GraphSON and wondering if I should update my service to use that to workaround the serialization problem. Does anyone have recommendations?
5 replies