microsoft / microsoft/kiota-java

Json serilializer leaves out object of JsonObject type in additionalData

Open
#1,388 0 comments 0 reactions 1 assignee View on GitHub

@Ndiritu is already working on this.

Since Aug 6, 2024.

bug
Dominant language
Java
Stars
38
Forks
34
Avg merge
15h 9m
Merged PRs (30d)
20

Description

Related to https://github.com/microsoftgraph/msgraph-sdk-java/issues/2063

The json serializer does not handle JsonObject types resulting in illegalState exception as only the property is written.

We should probably add a case for the same at https://github.com/microsoft/kiota-java/blob/a853aaec76e0102e18e27c02c75ca8ef0a0021a1/components/serialization/json/src/main/java/com/microsoft/kiota/serialization/JsonSerializationWriter.java#L471

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.