Cedric Beust
Cedric Beust
The reason for this is that when you set a time out on a test method, that method gets run on a one-off executor so that the time out can...
Hi @VladRassokhin, There's a lot going on in this pull request and not all of it seems to be related to this threading bug, do you think you could break...
Totally understand, no worries. Thanks! ## Cédric On Mon, May 4, 2015 at 2:25 PM, Vladislav Rassokhin < [email protected]> wrote: > Hi Cedric, > > Honestly, I don't have any...
Oh... interesting. To make sure I understand: even if the JSON document you parse has multiple nested objects in it, you can create one Kotlin object made of fields reaching...
Actually you can already do this right now with a `PathMatcher`: https://github.com/cbeust/klaxon/blob/master/src/test/kotlin/com/beust/klaxon/PathMatcherTest.kt#L12-L50 More verbose than your suggestion, though.
I have the following working with very little changes right now: ``` data class WithPath( val id: Int, @Json(path = "$.person.name") val name: String ) fun fieldWithPath() { val result...
I have this implemented technically but from a feature standpoint, there are several areas I'm not sure how to handle. For example, if you use a path in a class...
@AntonTheDev Please open a separate issue, or ask your question on the #klaxon Slack channel. Thanks!
I was comparing your approach to the one I'd have used: ```kotlin fun longOrThrow(fieldName: String) = long(fieldName) ?: throw KlaxonException("...") ``` What do you think?
When you are parsing this JSON with the type parameter as `BarImpl`, you are telling Klaxon that the expected shape of JSON is a JSON object with fields: - `x`...