rudolph-miller / jonathan

JSON encoder and decoder.
http://rudolph-miller.github.io/jonathan/overview.html
164 stars 24 forks source link

%to-json fails on strings which aren't simple #40

Closed fisxoj closed 8 years ago

fisxoj commented 8 years ago

I was working on something using mito and my strings from postgres were coming back as (vector character)s. Despite there being a ((string string)) method for %to-json, it actually requires strings to be simple-string in %write-string.

I have a solution that creates two methods, one for simple-string that does what the current string method does, and another on string that prints the string into a new simple-string. I'll post that, shortly.

rudolph-miller commented 8 years ago

Thank you to report. I'll review your pull-request then. :octocat: