Skip to content

Commit 537f12b

Browse files
committed
Update to 1.2.5, use simstr 1.6.6+
1 parent b9413fa commit 537f12b

6 files changed

Lines changed: 6 additions & 10 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ include(FetchContent)
66

77
project(
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

docs/Doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

docs/Doxyfile_ru

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
Designed 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

readme_ru.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
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

src/json.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)