profile
viewpoint
zhaojs zjs604381586 beijing 码码码农农

created taghighras/rtm-server-sdk-go

tagv0.5.0

created time in 2 days

release highras/rtm-server-sdk-go

v0.5.0

released time in 2 days

startedNetflix/eureka

started time in 2 days

startedgoogle/oboe

started time in 3 days

push eventhighras/rtm-client-sdk-objc

zhangshiliang

commit sha ffedd3f21d463acd42b5167cb1ee46fede3395a7

p2p拉取历史消息 fromUid toId 处理

view details

push time in 19 days

push eventhighras/rtm-client-sdk-objc

zhangshiliang

commit sha 399d5f91786874a571a2b219f938e7f44eb6f401

发送消息时 返回消息 ID

view details

push time in 19 days

startedhighras/rtm-server-sdk-go

started time in a month

startedhighras/fpnn-sdk-go

started time in a month

created taghighras/fpnn-sdk-go

tagv1.0.6

created time in a month

release highras/fpnn-sdk-go

v1.0.6

released time in a month

created taghighras/rtm-server-sdk-go

tagv0.4.1

created time in a month

release highras/rtm-server-sdk-go

v0.4.1

released time in a month

push eventhighras/fpnn-sdk-go

fp-jingshizhao

commit sha 28ac23a7041b54b0b848687e9f0d936cd8b2eb11

v1.0.6 add connection activetime

view details

push time in a month

push eventhighras/rtm-server-sdk-go

fp-jingshizhao

commit sha ba26e6048bb56ffec90fb3c2cf6fc3a67f5f4500

v0.4.1 update sendquest

view details

push time in a month

push eventhighras/rtm-server-sdk-go

fp-jingshizhao

commit sha a5f156ab34af9613f23267e3e62c4902b2c70d93

update version

view details

push time in a month

push eventhighras/rtm-client-sdk-objc

zhangshiliang

commit sha e1cc77202114dd8b70db455576e6df208a5e2e41

SDK版本号更新

view details

push time in 2 months

push eventhighras/rtm-client-sdk-objc

zhangshiliang

commit sha 60ab9761d46e7774ded760402af332f4051e60a8

增加语言code码

view details

zhangshiliang

commit sha 0029b727d44b4954a416fee5bd8a65675edc69f3

Merge branch 'master' of https://github.com/highras/rtm-client-sdk-objc # Conflicts: # README.md

view details

push time in 2 months

created taghighras/rtm-server-sdk-go

tagv0.4.0

created time in 2 months

release highras/rtm-server-sdk-go

v0.4.0

released time in 2 months

push eventhighras/rtm-server-sdk-go

fp-jingshizhao

commit sha 1fa65463df524d034fa4e0ab7a64b6995fa69337

update new sdk api

view details

push time in 2 months

created taghighras/fpnn-sdk-go

tagv1.0.5

created time in 2 months

release highras/fpnn-sdk-go

v1.0.5

released time in 2 months

push eventhighras/fpnn-sdk-go

fp-jingshizhao

commit sha c6124059bb42c62447f8ef5a7826a72a19e5fefb

update connect&close event callback

view details

push time in 2 months

created taghighras/rtm-server-sdk-java

tagv2.1.0

created time in 2 months

push eventhighras/rtm-server-sdk-java

fp-jingshizhao

commit sha 483e7edef7bbad6bcd2bfec3b2432bb595027b13

add&update new java sdk api

view details

push time in 2 months

push eventhighras/rtm-server-sdk-java

fp-jingshizhao

commit sha 75351bb8c0078e74ce23086da061f86c5dc13878

update readme

view details

push time in 2 months

push eventhighras/rtm-client-sdk-objc

zhangshiliang

commit sha 5e84f9efe8d4abc95bcda67571efa6032ee7c955

Update to v2.0.3

view details

push time in 2 months

startedorcaman/concurrent-map

started time in 2 months

startedmicro/go-micro

started time in 2 months

startedtidwall/evio

started time in 3 months

issue commentTencent/rapidjson

When parse a json string, kParseErrorStringEscapeInvalid error will appear, when the value string contains a tab character

my code:

#include "rapidjson/document.h"
#include <iostream>
#include <string>
#include <fstream>
#include <sstream>
int main(int argc, char* argv[]) {
    std::ifstream t(argv[1]);
    std::stringstream buffer;
    buffer<<t.rdbuf();
    std::string json = buffer.str();
    rapidjson::Document document;
    auto errorCode = document.Parse(json.c_str()).GetParseError();
    if (errorCode != rapidjson::kParseErrorNone)
        std::cout << "json parse failed. errorCode = "<< errorCode <<" ,data = "<< json.c_str() << std::endl;
    else
        std::cout << document["msg"].GetString() << " " << document["mtime"].GetInt() << std::endl;
    return 0;
}

testjson.txt

result:

./a.out ./testjson.txt
json parse failed. errorCode = 10 ,data = {"msg":"      hello abc","mtime":1596531824}

Note: please check the file content,the value string must contains a tab character, Not is four spaces

zjs604381586

comment created time in 3 months

issue commentTencent/rapidjson

When parse a json string, kParseErrorStringEscapeInvalid error will appear, when the value string contains a tab character

std::string json = R"({"msg":"\thello abc","mtime":1596531824})"; rapidjson::Document document; auto errorCode = document.Parse(json.c_str()).GetParseError(); if (errorCode != rapidjson::kParseErrorNone) std::cout<<"json parse failed. errorCode = "<< errorCode <<" ,data = "<< json.c_str()<<std::endl;

zjs604381586

comment created time in 3 months

issue commentTencent/rapidjson

When parse a json string, kParseErrorStringEscapeInvalid error will appear, when the value string contains a tab character

std::string json = R"({"msg":"\thello abc","mtime":1596531824})" ; rapidjson::Document document; auto errorCode = document.Parse(json.c_str()).GetParseError(); if (errorCode != rapidjson::kParseErrorNone) std::cout<<"json parse failed. errorCode = "<< errorCode <<" ,data = "<< json.c_str()<<std::endl;

zjs604381586

comment created time in 3 months

issue commentTencent/rapidjson

When parse a json string, kParseErrorStringEscapeInvalid error will appear, when the value string contains a tab character

std::string a = {"msg":"\thello abc","mtime":1596531824} ; rapidjson::Document document; auto errorCode = document.Parse(a.c_str()).GetParseError(); if (errorCode != rapidjson::kParseErrorNone) std::cout<<"json parse failed. errorCode = "<< errorCode <<" ,data = "<<a.c_str()<<std::endl;

zjs604381586

comment created time in 3 months

issue openedTencent/rapidjson

When parse a json string, kParseErrorStringEscapeInvalid error will appear, when the value string contains a tab character

My json string a = {"msg":" hello abc","mtime":1596531824} ; There are tabs before the value of msg, and a parse error occurs when document.Parse(a.c_str()) is called

code: rapidjson::Document document; auto errorCode = document.Parse(a.c_str()).GetParseError(); if (errorCode != rapidjson::kParseErrorNone) std::cout<<"json parse failed. errorCode = "<<code<<" ,data = "<<a.c_str()<<std::endl;

will print: json parse failed. errorCode = 10 ,data = {"msg":" hello abc","mtime":1596531824}

created time in 3 months

more