Git Product home page Git Product logo

Comments (4)

wenshao avatar wenshao commented on June 12, 2024

这个能提供重现问题的数据么?

from fastjson2.

lietou1986 avatar lietou1986 commented on June 12, 2024

这个能提供重现问题的数据么?

我是在批量跑数的时候发现的,具体哪条数据导致的我也在分析排查,可以给你描述下在什么场景下出现的,供你参考。
我有段表达式会计算出一个浮点值返回给客户端,客户端在反序列化这个数据时候出现异常:

有问题的表达式:

0.0*b_label_chat_score+1.0*(b_label_posreply_score>0.1?b_label_posreply_score+1:b_label_posreply_score*10)

没问题的表达式:

b_label_posreply_score>0.1?b_label_posreply_score+1:b_label_posreply_score*10

把有问题的表达式前边的0.0跟1.0去掉后就没问题了

from fastjson2.

lietou1986 avatar lietou1986 commented on June 12, 2024

这个编辑器把前边的×号搞没了

from fastjson2.

wenshao avatar wenshao commented on June 12, 2024

能帮忙找到具体的数据么?

from fastjson2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.