rapture icon indicating copy to clipboard operation
rapture copied to clipboard

Rapture

Results 63 rapture issues
Sort by recently updated
recently updated
newest added

IntelliJ version: 2017.2.6 sbt version: 0.13.15 Scala version: 2.12.3 Hi, i cloned the project and tried to import the SBT and i got this error: not found: value java8SupportJVMi. I...

the following code does not compile: ``` import rapture.json.{Json, _} case class Foo(value:Map[Int,Int]) case class Bar(foos:Seq[Foo]) class Test(implicit ast:JsonAst) { val myBar = Bar(List(Foo(Map(1->1)))) //implicit val ser = implicitly[Serializer[Foo,Json]] Json(myBar)...

#json
#xml

I've tried to migrate my sample to rapture 2.0 M9 but I cannot find the correct way to do it, here is a minimalist sample: https://github.com/tyrcho/rapture-json-demo/blob/rapture_2/src/main/scala/Demo.scala this code worked with...

I found the [blog post](http://rapture.io/mod/i18n) about Rapture's i18n library and am really interested in trying it out but had a heck of a time trying to find where it is....

I hit an issue in a production system with this string using the jawn backend: ``` scala> json"""{"description":" "}""" java.util.NoSuchElementException: None.get at scala.None$.get(Option.scala:347) at scala.None$.get(Option.scala:345) ... 29 elided scala> """"...

this code shows the problem: ``` import rapture.core.modes.returnTry._ case class Foo(value:Option[Int]) val ser = Json.format(Json(true)) //String = "true" Json.parse(ser).flatMap(_.as[Foo]) //result is: Success(Bar(None)) ``` The parser gets a string and decides...

bug
#json

`Xml` module is not able to dispatch a valid `Extractor` from nested structures when the extraction of some middle elements has been customized. The behavior has been observed starting from...

**Issue:** Wrong List serialization to XML **Example:** ``` case class Foo(name: String, abc: List[String]) val user = Foo("Joe", List("abc", "1,2,3")) val userXML = Xml(user) //userXML: rapture.xml.Xml = xml"""Joeabc1,2,3""" userXML.abc.as[List[String]] ```...

bug
#xml
in progress

**Issue:** Rapture-XML cannot extract "top"-level xml elements **Example:** ``` import rapture.xml._ import rapture.core.java8.time._ xml"""Joe1983-03-29""".birthday.as[LocalDate] ``` result: `MissingValueException` **Expected:** `LocalDate.of(1983, 3, 29)`

bug
#xml
in progress

**Issue:** Wrong extracting of XML list nodes **Example:** `xml"""1223 """.b.as[List[Int]] // List[Int](1, 2, 23); - is ok` `xml"""1223 """.b.as[List[String]] // List[String](1, 2, 23); - not ok` `xml"""12 """.b.as[Int] //res2: Int...

bug
#xml