Skip to content

Add SHtml.jsonCall that maps JValue => JValue #1317

Closed
jeppenejsum opened this Issue Aug 31, 2012 · 1 comment

2 participants

@jeppenejsum
Lift Web Framework member

I.e like this

def jsonCall(jsCalcValue: JsExp, jsonContext: JsonContext, func:
JsonAST.JValue => JsonAST.JValue): GUIDJsExp =
jsonCall_*(jsCalcValue, jsonContext, S.SFuncHolder(s =>
parseOpt(s).map(func) getOrElse JsonAST.JNothing))

@andreak
Lift Web Framework member
andreak commented Sep 11, 2012

I'm surprised this didn't make it into 2.5-M1. Anything holding you back from committing this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.