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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
发现golang把字节数组转成JSON字符串的时候,居然一直有一个
\xFFD
的字符,各种查找资料才知道这是个解析失败的错误码。也就是说:不是所有的字节数组都能转成 string。所以最好是单独用base64处理一下吧。解析示例
增加了一个
rulexlib:B64S2B(b64) -> data, err
函数来辅助转换Beta Was this translation helpful? Give feedback.
All reactions