Skip to content

Wrong decoding of json "\u" #630

Open
@nivekz

Description

@nivekz
  • Product and API: aliyun-java-sdk-kms 2.15.0 & JsonReader class
  • Platform: java
  • Mininum Code:

The aliyun api (KMS) returned "&" as "\u0026". The aliyun-java-sdk-kms library calls JsonReader of aliyun-java-sdk-core to decode. But it simply ignores the '\', resulting in a "u0026".

We expect that the sdk decoder should return either "&", or "\u0026".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions