Skip to content

Serialize non camelcased properties? #61

Description

@stobias123

I have the below interface and jsonapi response snippet.

I need to serialize the property as shown into the camelcased property in the interface.

Is there some field in schema that I can set to define the camelcased attribute? Do I need to use mutations? Any pointers would be helpful. Thanks!

export interface Plan {
  logReadURL: string;
}

// This json response
{
  ....
  "log-read-url": "foooooo"
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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