coreRuntime/src/sc/sync/JSONParser.java
public Object parseRefOrString(Object resultType) {
      CharSequence val = parseString(true);
      int len;
      if (resolver != null && val != null && (len = val.length()) > 4) {
         if (isRefPrefix(val, 0)) {
            return resolveRefString(val, len, resultType);
         }
         // When the string value starts with 'ref:' we insert a \ as the first char so just need to strip this off.
         else if (val.charAt(0) == '\\' && len > 5 && isRefPrefix(val, 1))
            val = val.subSequence(1, len);
      }
      if (val != null)
         val = CTypeUtil.unescapeJavaString(val);
      return val;
   }
/** The JSON format does not natively support references so when JSONDeserializer is present,
    *  use a string with a special prefix 'ref:'.  This also allows null */
The JSON format does not natively support references so when JSONDeserializer is present,
use a string with a special prefix 'ref:'.  This also allows null
The JSON format does not natively support references so when JSONDeserializer is present use a string with a special prefix ' ref : ' . This also allows null
public Object parseRefOrString(Object resultType) {
      CharSequence val = parseString(true);
      int len;
      if (resolver != null && val != null && (len = val.length()) > 4) {
         if (isRefPrefix(val, 0)) {
            return resolveRefString(val, len, resultType);
         }
         else if (val.charAt(0) == '\\' && len > 5 && isRefPrefix(val, 1))
            val = val.subSequence(1, len);
      }
      if (val != null)
         val = CTypeUtil.unescapeJavaString(val);
      return val;
   }
public Object parseRefOrString ( Object resultType ) { CharSequence val = parseString ( true ) ; int len ; if ( resolver != null && val != null && ( len = val . length ( ) ) > 4 ) { if ( isRefPrefix ( val , 0 ) ) { return resolveRefString ( val , len , resultType ) ; } else if ( val . charAt ( 0 ) == '\\' && len > 5 && isRefPrefix ( val , 1 ) ) val = val . subSequence ( 1 , len ) ; } if ( val != null ) val = CTypeUtil . unescapeJavaString ( val ) ; return val ; }
The JSON format does not natively support references so when JSONDeserializer is present,
  use a string with a special prefix 'ref:'.
The JSON format does not natively support references so when JSONDeserializer is present use a string with a special prefix ' ref : ' .
// When the string value starts with 'ref:' we insert a \ as the first char so just need to strip this off.