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

String ending with $ is not accepted #41

Closed
OlegYch opened this issue Feb 27, 2012 · 3 comments
Closed

String ending with $ is not accepted #41

OlegYch opened this issue Feb 27, 2012 · 3 comments
Assignees

Comments

@OlegYch
Copy link

OlegYch commented Feb 27, 2012

With this code

@BeanInfo case class Config(user: User) {
  def this() = this (new User)
}

@BeanInfo case class User(email: String, pass: String) {
  def this() = this ("", "")
}

and this json:

{"user":{
  "email":"y@qwe.qwe",
  "pass":"4884$"
}}

i get
java.lang.RuntimeException: Cannot make object for :4884$
at scala.sys.package$.error(package.scala:27)
at sjson.json.JsBean$$anonfun$1.apply(JsBean.scala:313)

sjson_2.9.1-0.15

@debasishg
Copy link
Owner

am traveling right now. Will take look once I get into my groove .. Thanks for reporting.

@ghost ghost assigned debasishg Feb 28, 2012
@debasishg
Copy link
Owner

Fixed on the master .. facing some problems publishing to sonatype repo. Hopefully will get sorted out soon. Meanwhile you can build from master. Thanks for using sjson.

@OlegYch
Copy link
Author

OlegYch commented Mar 10, 2012

Thanks, Debasish. It works now.

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