File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ include(FetchContent)
66
77project (
88 simjson
9- VERSION 1.2.4
9+ VERSION 1.2.5
1010 DESCRIPTION "Very simple json library"
1111 HOMEPAGE_URL "https://github.com/orefkov/simjson"
1212 LANGUAGES CXX
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ PROJECT_NAME = "simjson"
4848# could be handy for archiving the generated documentation or if some version
4949# control system is used.
5050
51- PROJECT_NUMBER = 1.2.4
51+ PROJECT_NUMBER = 1.2.5
5252
5353# Using the PROJECT_BRIEF tag one can provide an optional one line description
5454# for a project that appears at the top of each page and should give viewers a
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ PROJECT_NAME = "simjson"
4848# could be handy for archiving the generated documentation or if some version
4949# control system is used.
5050
51- PROJECT_NUMBER = 1.2.4
51+ PROJECT_NUMBER = 1.2.5
5252
5353# Using the PROJECT_BRIEF tag one can provide an optional one line description
5454# for a project that appears at the top of each page and should give viewers a
Original file line number Diff line number Diff line change 33
44Designed to work with JSON when using the [ simstr] ( https://github.com/orefkov/simstr ) library.
55
6- Version 1.2.4 .
6+ Version 1.2.5 .
77
88<span class =" obfuscator " ><a href =" readme_ru.md " >On Russian | По-русски</a ></span >
99
Original file line number Diff line number Diff line change 33
44Предназначена для работы с JSON при использовании библиотеки [ simstr] ( https://github.com/orefkov/simstr ) .
55
6- Версия 1.2.4 .
6+ Версия 1.2.5 .
77
88<span class =" obfuscator " ><a href =" readme.md " >On English | По-английски</a ></span >
99
Original file line number Diff line number Diff line change @@ -362,11 +362,7 @@ SIMJSON_API typename JsonValueTempl<K>::strType JsonValueTempl<K>::to_text() con
362362 case Integer:
363363 return e_num<K>(val_.integer );
364364 case Real:
365- if constexpr (is_one_of_std_char_v<K>) {
366- return e_num<K>(val_.real );
367- } else {
368- return lstringa<64 >{e_num<u8s>(val_.real )};
369- }
365+ return e_num<K>(val_.real );
370366 default :
371367 return {};
372368 }
You can’t perform that action at this time.
0 commit comments