json icon indicating copy to clipboard operation
json copied to clipboard

Small documentation mistake

Open jona-wilmsmann opened this issue 6 years ago • 1 comments

https://github.com/nlohmann/json/blob/develop/single_include/nlohmann/json.hpp#L7986

It says that reading 1-9 in the decimal1 state will go to an error state, but actually it goes to the decimal2 state, as can be seen here

https://github.com/nlohmann/json/blob/develop/single_include/nlohmann/json.hpp#L8147-L8155

jona-wilmsmann avatar Jan 09 '20 09:01 jona-wilmsmann


🔖 Release item

This issue/PR will be part of the next release of the library. This template helps preparing the release notes.

Type

  • [ ] ✨ New Feature
  • [ ] 🐛 Bug Fix
  • [ ] ⚡️ Improvement
  • [x] 🔨 Further Change
  • [ ] 🔥 Deprecated function

Description

  • Fixed documentation of number scanner. #1895

nlohmann avatar Jan 12 '20 09:01 nlohmann