aliyun-openapi-java-sdk icon indicating copy to clipboard operation
aliyun-openapi-java-sdk copied to clipboard

Wrong decoding of json "\u"

Open nivekz opened this issue 3 years ago • 0 comments

  • 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".

nivekz avatar Sep 20 '21 01:09 nivekz