ceph/doc
Kefu Chai 6677658992 common/ceph_json: dump bool using f->dump_bool()
as per https://www.json.org/json-en.html, JSON encodes bool as
"true" or "false", without the quotes. before this change, the quotes
are always added when encoding boolean values.

but this change is not backward compatible.

encode_json()'s bool overload is used by rgw. it uses JSONObj
defined in common/ceph_json.h to decode JSON-encoded structs.
and it does not differentiate bool from str when decoding a boolean
value despite that it could have check the "quoted" member variable
of JSONObj for validating the type of value. so we should be fine.

Fixes: https://tracker.ceph.com/issues/55189
Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2022-05-21 16:32:14 +08:00
..
_ext
_static/css
_templates
_themes/ceph
api
ceph-volume doc: fix format issues 2022-03-04 11:20:18 +01:00
cephadm doc/cephadm: staggered upgrade docs 2022-05-19 17:24:56 -04:00
cephfs doc: cephfs: update with atime not supporting explaination 2022-04-21 14:10:24 +08:00
changelog
dev doc/dev: refine basic-workflow.rst integ. test 2022-05-18 04:08:05 +10:00
images
install Merge pull request #43388 from e337/wip-doc-50499 2022-02-18 18:24:02 -06:00
jaegertracing
man doc/man/cephfs-shell.rst: get cmd must accept both path mandatorily 2022-05-11 17:16:28 +05:30
mgr doc/mgr/nfs: Add commands to check the statuses 2022-04-27 12:12:36 -04:00
mon
rados doc/rados/configuration: clarify VMware note in bluestore-config-ref.rst 2022-05-16 18:46:58 -07:00
radosgw common/ceph_json: dump bool using f->dump_bool() 2022-05-21 16:32:14 +08:00
rbd Merge pull request #45887 from bluikko/patch-3 2022-04-23 10:53:31 +02:00
releases doc: 16.2.9 Release notes 2022-05-18 16:16:56 -04:00
scripts doc/dev: add section on using the gen_state_diagram.py script 2022-02-10 09:12:05 -06:00
security
start doc/start: s/3/three/ in intro.rst 2022-05-18 20:36:53 +10:00
.gitignore
architecture.rst
CMakeLists.txt
conf.py doc/conf.py: silence warnings from breathe 2022-03-06 14:27:55 +08:00
favicon.ico
foundation.rst Merge pull request #45305 from Thingee/update-foundation-mem-202203 2022-03-09 15:19:35 -08:00
glossary.rst
governance.rst
index.rst
logo.png
man_index.rst
README.md