Article - CS267450

Enhancement request: ThingWorx platform to handle NaN numerical values

Modified: 26-Jul-2017   


Applies To

  • ThingWorx Platform 7.1

Description

  • When calling a service that takes an infinite NaN numeric value, an error is thrown: "JSON does not allow non-finite numbers"
  • Jackson and many other JSON processing libraries get around this issue by rendering non-finite numbers as strings.

This is a PDF version of Article CS267450 and may be out of date. For the latest version click https://www.ptc.com/en/support/article/CS267450