Description
org.apache.wicket.ajax.json.JSONFunction implements org.apache.wicket.ajax.json.JSONString, whereas com.github.openjson.JSONStringer relies on com.github.openjson.JSONString. I suppose this leads to problems on line 255 of JSONStringer which checks if value is instance of JSONString, so that JSONFunction is not rendered correctly. Found by analyzing issue #616 of wicketstuff.