Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add int and string management on %json_add #1757

Merged
merged 1 commit into from Apr 24, 2024

Conversation

The-Lum
Copy link
Collaborator

@The-Lum The-Lum commented Apr 24, 2024

Hello PlantUML team, and all,

To continue:

And to fix:

Here is a fix for int and string, in order to manage:

%json_add({"age" : 30}, name, 123) '=> {"age":30,"name":123}
%json_add({"age" : 30}, name, Sally) '=> {"age":30,"name":"Sally"}

[FYI @philCryoport]
Reagrds,
Th.

That fixes:
- plantuml#328 (comment)

Here is a fix for `int` and `string`, in order to manage:

```puml
%json_add({"age" : 30}, name, 123) '=> {"age":30,"name":123}
```

```puml
%json_add({"age" : 30}, name, Sally) '=> {"age":30,"name":"Sally"}
```

[FYI @philCryoport]
Reagrds,
Th.
@arnaudroques arnaudroques merged commit 34e3cfc into plantuml:master Apr 24, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants