You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why not to use
val field = context.get.getDeclaredField(props.get(name).get)
val fieldInnerType = field.getGenericType.asInstanceOf[ParameterizedType].getActualTypeArguments()(0)
instead of
val field = context.get.getDeclaredField(props.get(name).get)
val ann = field.getAnnotation(classOf[JSONTypeHint])
Why not to use
val field = context.get.getDeclaredField(props.get(name).get)
val fieldInnerType = field.getGenericType.asInstanceOf[ParameterizedType].getActualTypeArguments()(0)
instead of
val field = context.get.getDeclaredField(props.get(name).get)
val ann = field.getAnnotation(classOf[JSONTypeHint])
when determining types of elements in list field?
For example here https://github.com/debasishg/sjson/blob/master/src/main/scala/sjson/json/JsBean.scala#L182
Thanks,
Oleg.
The text was updated successfully, but these errors were encountered: