public CodegenExpression CaptureValue(
     JsonEndValueRefs refs,
     CodegenMethod method,
     CodegenClassScope classScope)
 {
     return StaticMethod(typeof(JsonDeserializerForgeUri), "JsonToURI", refs.ValueString, refs.Name);
 }
        public CodegenExpression CaptureValue(
            JsonEndValueRefs refs,
            CodegenMethod method,
            CodegenClassScope classScope)
        {
            if (_target != null) {
                return Cast(_target, refs.ValueObject);
            }

            return Cast(_targetClassName, refs.ValueObject);
        }