Skip to content

Newtonsoft can't deserialize GetBalancesAsync() #6

Open
@chrispetersinc

Description

@chrispetersinc

When calling:
var balances = await poloniexClient.Wallet.GetBalancesAsync();

The following error occurs:
{"Error reading string. Unexpected token: StartObject. Path '1CR', line 1, position 8."}

This happens when it tries to deserialize the json string. Rather than try to figure out why Newtonsoft Json couldn't deserialize a json string with the ibalance array within it, I modified my version to send to a second postdata that returns the json string and parsed it manually.

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