wolf4ood/gremlin-rs

Question: Convert string results back to GValue

Opened this issue · 0 comments

I have a case where the response of an API results in a string form of GValue, wondering if there can be a possible serde implementation of converting a string like the following to GValue

[
    Vertex(Vertex {
        id: String("op1+owner+name"),
        label: "op1",
        properties: {
            "modification_time": [VertexProperty { label: "modification_time", id: Int32(685301873), value: String("2023-03-19T04:41:52.370Z")}]
            "name": [VertexProperty { label: "name", id: Int32(881512247), value: String("op1")}],
            "service": [VertexProperty { label: "owner", id: Int32(-1257104450), value: String("o1")}]
        }
    })
]

Would be happy to contribute, if you can give me some pointers on going about this