We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Tests are not executable from IntelliJ.
The text was updated successfully, but these errors were encountered:
Unable to run the tests from IntelliJ, though running from sbt
Also, your quick example not working from a Scala Worksheet.
Sorry, something went wrong.
import argus.macros._ import io.circe._ import io.circe.syntax._
@fromSchemaResource("/simple.json", name="Person") object Schema import Schema._ import Schema.Implicits._
val json = """ |{ | "name" : ["Bob", "Smith"], | "age" : 26, | "address" : { | "number" : 31, | "street" : "Main St" | }, | "erdosNumber": 123 |} """.stripMargin
// Decode into generated case class val person = parser.decodePerson.toOption.get
// Update address val address = Address(number=Some(42), street=Some("Alt St")) val newPerson = person.copy(address=Some(address))
// Encode base to json newPerson.asJson
No branches or pull requests
Tests are not executable from IntelliJ.
The text was updated successfully, but these errors were encountered: