protected object ParseString(ITypeBuilderRegistry registry, ITypeBuilder builder) { var s = ParseString(); var dt = JsonFormats.TryParseDateTime(s); return dt.HasValue ? builder.CreateDateTime(registry, dt.Value, s) : builder.CreateString(registry, s); }