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

jonathan-encoder0 when some object is present twice in to-json's input #55

Closed
svetlyak40wt opened this issue Jun 4, 2018 · 8 comments
Closed

Comments

@svetlyak40wt
Copy link
Contributor

CL-USER> (let ((user "bob")) (to-json (list :a user :b user)))
"{\"A\":\"jonathan-encoder0\",\"B\":\"bob\"}"

Expected result is:

{"A": "bob", "B": "bob"}
@svetlyak40wt
Copy link
Contributor Author

Right now workaround is wrapping second value with format call to make another string instance:

CL-USER> (let ((user "bob")) (to-json (list :a user :b (format nil "~A" user))))
"{\"A\":\"bob\",\"B\":\"bob\"}"

@svetlyak40wt
Copy link
Contributor Author

Does somebody have ideas how to fix it?

@svetlyak40wt
Copy link
Contributor Author

Guys?

@rudolph-miller
Copy link
Owner

I will take a look at this issue in the next week or two. :octocat:

@svetlyak40wt
Copy link
Contributor Author

Great! Thank you!

@svetlyak40wt
Copy link
Contributor Author

svetlyak40wt commented Aug 23, 2018

Hi Rudolph. Are there any news here?

@svetlyak40wt
Copy link
Contributor Author

Rudolph, if you don't have time for this issue, please, tell me and may I'll try to solve it myself and will send a pull.

@kkazuo kkazuo mentioned this issue Sep 20, 2018
@svetlyak40wt
Copy link
Contributor Author

This issues was closed half year before by pull #56

Thanks to https://12forks.com MVP for pointing to this stale issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants