Skip to content

Mapping $id or $ref into properties. #44

Open
@brandorf

Description

@brandorf

I've got some inner objects that are using $id as property names that need to be mapped to an object. Normally I would modify the json serializer settings to ignore references, but this seems to not be exposed to us when using the Snowflake client?

Short version, given an object like so:
"emid": { "$id": "63484e6eab783af4c4072539" }

With a poco:

public class Emid { [JsonProperty("$id")] public string id { get; set; } }

In the final deserialized object coming back from QueryAsync, that ID will alway be null, is there a setting I'm overlooking?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions