mirror of
https://github.com/nlohmann/json.git
synced 2025-07-29 23:01:16 +03:00
✅ CBOR roundtrip tests
This commit is contained in:
1
test/data/json.org/1.json.cbor
Normal file
1
test/data/json.org/1.json.cbor
Normal file
@ -0,0 +1 @@
|
||||
<EFBFBD>hglossary<EFBFBD>hGlossDiv<EFBFBD>iGlossList<EFBFBD>jGlossEntry<EFBFBD>hGlossDef<EFBFBD>lGlossSeeAlso<EFBFBD>cGMLcXMLdparaxHA meta-markup language, used to create markup languages such as DocBook.hGlossSeefmarkupgAcronymdSGMLiGlossTermx$Standard Generalized Markup LanguagefAbbrevmISO 8879:1986fSortAsdSGMLbIDdSGMLetitleaSetitlepexample glossary
|
1
test/data/json.org/2.json.cbor
Normal file
1
test/data/json.org/2.json.cbor
Normal file
@ -0,0 +1 @@
|
||||
<EFBFBD>dmenu<EFBFBD>epopup<EFBFBD>hmenuitem<EFBFBD><EFBFBD>gonclicknCreateNewDoc()evaluecNew<65>gonclickiOpenDoc()evaluedOpen<65>gonclickjCloseDoc()evalueeClosebiddfileevaluedFile
|
1
test/data/json.org/3.json.cbor
Normal file
1
test/data/json.org/3.json.cbor
Normal file
@ -0,0 +1 @@
|
||||
<EFBFBD>fwidget<EFBFBD>edebugbondtext<EFBFBD>gvOffsetdestyledbolddnameetext1ghOffset<18>ionMouseUpx)sun1.opacity = (sun1.opacity / 100) * 90;ddatajClick Hereialignmentfcenterdsize$fwindow<6F>ewidth<01>fheight<01>dnamekmain_windowetitlexSample Konfabulator Widgeteimage<67>gvOffset<18>csrcnImages/Sun.pngialignmentfcenterdnamedsun1ghOffset<18>
|
4
test/data/json.org/4.json.cbor
Normal file
4
test/data/json.org/4.json.cbor
Normal file
@ -0,0 +1,4 @@
|
||||
<EFBFBD>gweb-app<70>oservlet-mapping<6E>jcofaxToolsh/tools/*hcofaxCDSa/kfileServleti/static/*jcofaxAdminh/admin/*jcofaxEmails/cofaxutil/aemail/*ftaglib<69>otaglib-locationw/WEB-INF/tlds/cofax.tldjtaglib-uriicofax.tldgservlet<65><74>lservlet-namehcofaxCDSjinit-param<61>*ocachePagesStoredxsearchEngineListTemplatexforSearchEnginesList.htmxconfigGlossary:adminEmailmksm@pobox.comlmaxUrlLength<01>rdataStoreTestQueryx"SET NOCOUNT ON;select test='test';sdefaultFileTemplatesarticleTemplate.htmpdataStoreLogFilex$/usr/local/tomcat/logs/datastore.logstemplateLoaderClassxorg.cofax.FilesTemplateLoaderndataStoreClassvorg.cofax.SqlDataStorepredirectionClassxorg.cofax.SqlRedirectionttemplateOverridePath`scacheTemplatesStore2ldataStoreUrlx;jdbc:microsoft:sqlserver://LOCALHOST:1433;DatabaseName=goonxsearchEngineFileTemplatetforSearchEngines.htmocachePagesTrack<18>ucachePackageTagsStore<18>mdataStoreNameecofaxqdataStorePasswordrdataStoreTestQueryfuseJSP<53>sdefaultListTemplateplistTemplate.htmxconfigGlossary:poweredByeCofaxmdataStoreUserbsaojspListTemplateplistTemplate.jspojspFileTemplatesarticleTemplate.jspqdataStoreMaxConnsdscachePagesDirtyRead
|
||||
qcachePagesRefresh
|
||||
scacheTemplatesTrackdwdataStoreConnUsageLimitdxconfigGlossary:installationAtpPhiladelphia, PAtsearchEngineRobotsDbqWEB-INF/robots.dbvtemplateProcessorClassxorg.cofax.WysiwygTemplatewcachePackageTagsRefresh<xconfigGlossary:staticPatho/content/staticltemplatePathitemplatesluseDataStore<72>ucacheTemplatesRefreshodataStoreDriverx,com.microsoft.jdbc.sqlserver.SQLServerDriverxconfigGlossary:poweredByIconq/images/cofax.gifucachePackageTagsTrack<18>qdataStoreLogLeveledebugrdataStoreInitConns
|
||||
mservlet-classxorg.cofax.cds.CDSServlet<65>lservlet-namejcofaxEmailjinit-param<61>pmailHostOverrideemail2hmailHostemail1mservlet-classxorg.cofax.cds.EmailServlet<65>lservlet-namejcofaxAdminmservlet-classxorg.cofax.cds.AdminServlet<65>lservlet-namekfileServletmservlet-classxorg.cofax.cds.FileServlet<65>lservlet-namejcofaxToolsjinit-param<61>klogLocationx%/usr/local/tomcat/logs/CofaxTools.logrfileTransferFolderx4/usr/local/tomcat/webapps/content/fileTransferFoldercloggdataLogodataLogLocationx"/usr/local/tomcat/logs/dataLog.logladminGroupIDmlookInContextoremovePageCachex%/content/admin/remove?cache=pages&id=sremoveTemplateCachex)/content/admin/remove?cache=templates&id=jlogMaxSize`ndataLogMaxSize`jbetaServer<65>ltemplatePathotoolstemplates/mservlet-classxorg.cofax.cms.CofaxToolsServlet
|
1
test/data/json.org/5.json.cbor
Normal file
1
test/data/json.org/5.json.cbor
Normal file
@ -0,0 +1 @@
|
||||
<EFBFBD>dmenu<EFBFBD>fheaderjSVG Viewereitems<6D><73>biddOpen<65>bidgOpenNewelabelhOpen New<65><77>bidfZoomInelabelgZoom In<49>bidgZoomOutelabelhZoom Out<75>bidlOriginalViewelabelmOriginal View<65><77>bidgQuality<74>bidePause<73>biddMute<74><65>biddFindelabelgFind...<2E>bidiFindAgainelabeljFind Again<69>biddCopy<70>bidiCopyAgainelabeljCopy Again<69>bidgCopySVGelabelhCopy SVG<56>bidgViewSVGelabelhView SVG<56>bidjViewSourceelabelkView Source<63>bidfSaveAselabelgSave As<41><73>biddHelp<6C>bideAboutelabelxAbout Adobe CVG Viewer...
|
BIN
test/data/json_nlohmann_tests/all_unicode.json.cbor
Normal file
BIN
test/data/json_nlohmann_tests/all_unicode.json.cbor
Normal file
Binary file not shown.
1
test/data/json_roundtrip/roundtrip01.json.cbor
Normal file
1
test/data/json_roundtrip/roundtrip01.json.cbor
Normal file
@ -0,0 +1 @@
|
||||
<EFBFBD><EFBFBD>
|
1
test/data/json_roundtrip/roundtrip02.json.cbor
Normal file
1
test/data/json_roundtrip/roundtrip02.json.cbor
Normal file
@ -0,0 +1 @@
|
||||
<EFBFBD><EFBFBD>
|
1
test/data/json_roundtrip/roundtrip03.json.cbor
Normal file
1
test/data/json_roundtrip/roundtrip03.json.cbor
Normal file
@ -0,0 +1 @@
|
||||
<EFBFBD><EFBFBD>
|
BIN
test/data/json_roundtrip/roundtrip04.json.cbor
Normal file
BIN
test/data/json_roundtrip/roundtrip04.json.cbor
Normal file
Binary file not shown.
1
test/data/json_roundtrip/roundtrip05.json.cbor
Normal file
1
test/data/json_roundtrip/roundtrip05.json.cbor
Normal file
@ -0,0 +1 @@
|
||||
<EFBFBD>cfoo
|
1
test/data/json_roundtrip/roundtrip06.json.cbor
Normal file
1
test/data/json_roundtrip/roundtrip06.json.cbor
Normal file
@ -0,0 +1 @@
|
||||
<EFBFBD>
|
1
test/data/json_roundtrip/roundtrip07.json.cbor
Normal file
1
test/data/json_roundtrip/roundtrip07.json.cbor
Normal file
@ -0,0 +1 @@
|
||||
<EFBFBD>
|
BIN
test/data/json_roundtrip/roundtrip08.json.cbor
Normal file
BIN
test/data/json_roundtrip/roundtrip08.json.cbor
Normal file
Binary file not shown.
1
test/data/json_roundtrip/roundtrip09.json.cbor
Normal file
1
test/data/json_roundtrip/roundtrip09.json.cbor
Normal file
@ -0,0 +1 @@
|
||||
<EFBFBD>cfoocbar
|
1
test/data/json_roundtrip/roundtrip10.json.cbor
Normal file
1
test/data/json_roundtrip/roundtrip10.json.cbor
Normal file
@ -0,0 +1 @@
|
||||
<EFBFBD>aa<EFBFBD>cfoocbar
|
1
test/data/json_roundtrip/roundtrip11.json.cbor
Normal file
1
test/data/json_roundtrip/roundtrip11.json.cbor
Normal file
@ -0,0 +1 @@
|
||||
<EFBFBD>
|
1
test/data/json_roundtrip/roundtrip12.json.cbor
Normal file
1
test/data/json_roundtrip/roundtrip12.json.cbor
Normal file
@ -0,0 +1 @@
|
||||
<EFBFBD>:<><7F><EFBFBD>
|
1
test/data/json_roundtrip/roundtrip13.json.cbor
Normal file
1
test/data/json_roundtrip/roundtrip13.json.cbor
Normal file
@ -0,0 +1 @@
|
||||
<EFBFBD>;"<10>}<7D><>
|
1
test/data/json_roundtrip/roundtrip14.json.cbor
Normal file
1
test/data/json_roundtrip/roundtrip14.json.cbor
Normal file
@ -0,0 +1 @@
|
||||
<EFBFBD>;<><7F><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
1
test/data/json_roundtrip/roundtrip15.json.cbor
Normal file
1
test/data/json_roundtrip/roundtrip15.json.cbor
Normal file
@ -0,0 +1 @@
|
||||
<EFBFBD>
|
1
test/data/json_roundtrip/roundtrip16.json.cbor
Normal file
1
test/data/json_roundtrip/roundtrip16.json.cbor
Normal file
@ -0,0 +1 @@
|
||||
<EFBFBD><><7F><EFBFBD>
|
1
test/data/json_roundtrip/roundtrip17.json.cbor
Normal file
1
test/data/json_roundtrip/roundtrip17.json.cbor
Normal file
@ -0,0 +1 @@
|
||||
<EFBFBD><1A><><EFBFBD><EFBFBD>
|
1
test/data/json_roundtrip/roundtrip18.json.cbor
Normal file
1
test/data/json_roundtrip/roundtrip18.json.cbor
Normal file
@ -0,0 +1 @@
|
||||
<EFBFBD>"<10>}<7D><>
|
1
test/data/json_roundtrip/roundtrip19.json.cbor
Normal file
1
test/data/json_roundtrip/roundtrip19.json.cbor
Normal file
@ -0,0 +1 @@
|
||||
<EFBFBD><><7F><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
BIN
test/data/json_roundtrip/roundtrip20.json.cbor
Normal file
BIN
test/data/json_roundtrip/roundtrip20.json.cbor
Normal file
Binary file not shown.
BIN
test/data/json_roundtrip/roundtrip21.json.cbor
Normal file
BIN
test/data/json_roundtrip/roundtrip21.json.cbor
Normal file
Binary file not shown.
1
test/data/json_roundtrip/roundtrip22.json.cbor
Normal file
1
test/data/json_roundtrip/roundtrip22.json.cbor
Normal file
@ -0,0 +1 @@
|
||||
<EFBFBD><EFBFBD>?<3F><><EFBFBD>n<><6E>
|
1
test/data/json_roundtrip/roundtrip23.json.cbor
Normal file
1
test/data/json_roundtrip/roundtrip23.json.cbor
Normal file
@ -0,0 +1 @@
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>n<><6E>
|
BIN
test/data/json_roundtrip/roundtrip24.json.cbor
Normal file
BIN
test/data/json_roundtrip/roundtrip24.json.cbor
Normal file
Binary file not shown.
BIN
test/data/json_roundtrip/roundtrip25.json.cbor
Normal file
BIN
test/data/json_roundtrip/roundtrip25.json.cbor
Normal file
Binary file not shown.
BIN
test/data/json_roundtrip/roundtrip26.json.cbor
Normal file
BIN
test/data/json_roundtrip/roundtrip26.json.cbor
Normal file
Binary file not shown.
1
test/data/json_roundtrip/roundtrip27.json.cbor
Normal file
1
test/data/json_roundtrip/roundtrip27.json.cbor
Normal file
@ -0,0 +1 @@
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
BIN
test/data/json_roundtrip/roundtrip28.json.cbor
Normal file
BIN
test/data/json_roundtrip/roundtrip28.json.cbor
Normal file
Binary file not shown.
BIN
test/data/json_roundtrip/roundtrip29.json.cbor
Normal file
BIN
test/data/json_roundtrip/roundtrip29.json.cbor
Normal file
Binary file not shown.
1
test/data/json_roundtrip/roundtrip30.json.cbor
Normal file
1
test/data/json_roundtrip/roundtrip30.json.cbor
Normal file
@ -0,0 +1 @@
|
||||
<EFBFBD><EFBFBD>9<EFBFBD> <09><><EFBFBD><EFBFBD>
|
1
test/data/json_roundtrip/roundtrip31.json.cbor
Normal file
1
test/data/json_roundtrip/roundtrip31.json.cbor
Normal file
@ -0,0 +1 @@
|
||||
<EFBFBD><EFBFBD>F/)<29><><EFBFBD>U<EFBFBD>
|
1
test/data/json_roundtrip/roundtrip32.json.cbor
Normal file
1
test/data/json_roundtrip/roundtrip32.json.cbor
Normal file
@ -0,0 +1 @@
|
||||
<EFBFBD><EFBFBD>F/)<29><><EFBFBD>U<EFBFBD>
|
BIN
test/data/json_tests/pass1.json.cbor
Normal file
BIN
test/data/json_tests/pass1.json.cbor
Normal file
Binary file not shown.
1
test/data/json_tests/pass2.json.cbor
Normal file
1
test/data/json_tests/pass2.json.cbor
Normal file
@ -0,0 +1 @@
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>lNot too deep
|
1
test/data/json_tests/pass3.json.cbor
Normal file
1
test/data/json_tests/pass3.json.cbor
Normal file
@ -0,0 +1 @@
|
||||
<EFBFBD>wJSON Test Pattern pass3<73>lIn this testpIt is an object.sThe outermost valuexmust be an object or array.
|
@ -0,0 +1 @@
|
||||
<EFBFBD><EFBFBD>
|
@ -0,0 +1 @@
|
||||
<EFBFBD>`
|
@ -0,0 +1 @@
|
||||
<EFBFBD>
|
@ -0,0 +1 @@
|
||||
<EFBFBD>aa
|
@ -0,0 +1 @@
|
||||
<EFBFBD><EFBFBD>
|
@ -0,0 +1 @@
|
||||
<EFBFBD><EFBFBD>a1<61>
|
@ -0,0 +1 @@
|
||||
<EFBFBD><EFBFBD>
|
@ -0,0 +1 @@
|
||||
<EFBFBD>
|
@ -0,0 +1 @@
|
||||
<EFBFBD>
|
@ -0,0 +1 @@
|
||||
<EFBFBD><01><><EFBFBD>
|
@ -0,0 +1 @@
|
||||
<EFBFBD>
|
@ -0,0 +1 @@
|
||||
<EFBFBD><EFBFBD>M<EFBFBD>2<EFBFBD>2<EFBFBD>X<EFBFBD>
|
Binary file not shown.
BIN
test/data/nst_json_testsuite/test_parsing/y_number_0e1.json.cbor
Normal file
BIN
test/data/nst_json_testsuite/test_parsing/y_number_0e1.json.cbor
Normal file
Binary file not shown.
@ -0,0 +1 @@
|
||||
<EFBFBD>
|
@ -0,0 +1 @@
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>h<EFBFBD><EFBFBD>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
||||
<EFBFBD>8z
|
@ -0,0 +1 @@
|
||||
<EFBFBD>
|
Binary file not shown.
@ -0,0 +1 @@
|
||||
<EFBFBD><EFBFBD>D<EFBFBD><EFBFBD><EFBFBD>MՒ
|
@ -0,0 +1 @@
|
||||
<EFBFBD><EFBFBD>?<3F>z<EFBFBD>G<EFBFBD>{
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
||||
<EFBFBD><EFBFBD>P<EFBFBD><EFBFBD><EFBFBD>O§
|
@ -0,0 +1 @@
|
||||
<EFBFBD><EFBFBD>?<3F>z<EFBFBD>G<EFBFBD>{
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
||||
<EFBFBD>{
|
@ -0,0 +1 @@
|
||||
<EFBFBD><EFBFBD>@^<5E><<07>
|
@ -0,0 +1 @@
|
||||
<EFBFBD>
|
@ -0,0 +1 @@
|
||||
<EFBFBD>cdfgcfghcasdcsdf
|
@ -0,0 +1 @@
|
||||
<EFBFBD>casdcsdf
|
@ -0,0 +1 @@
|
||||
<EFBFBD>aaac
|
@ -0,0 +1 @@
|
||||
<EFBFBD>aaab
|
@ -0,0 +1 @@
|
||||
<EFBFBD>
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
||||
<EFBFBD>cmax<EFBFBD>E<EFBFBD>'<27>/<12>cmin<69><6E><EFBFBD>'<27>/<12>
|
@ -0,0 +1 @@
|
||||
<EFBFBD>ax<EFBFBD><EFBFBD>bidx(xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxbidx(xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
@ -0,0 +1 @@
|
||||
<EFBFBD>aa<EFBFBD>
|
@ -0,0 +1 @@
|
||||
<EFBFBD>etitlex!Полтора Землекопа
|
@ -0,0 +1 @@
|
||||
<EFBFBD>aaab
|
@ -0,0 +1 @@
|
||||
<EFBFBD>f`Īካ
|
@ -0,0 +1 @@
|
||||
<EFBFBD>d𝄞
|
@ -0,0 +1 @@
|
||||
<EFBFBD>d𐐷
|
@ -0,0 +1 @@
|
||||
<EFBFBD>h😹💍
|
@ -0,0 +1,2 @@
|
||||
<EFBFBD>h"\/
|
||||
|
@ -0,0 +1 @@
|
||||
<EFBFBD>f\u0000
|
@ -0,0 +1 @@
|
||||
<EFBFBD>a"
|
@ -0,0 +1 @@
|
||||
<EFBFBD>ma/*b*/c/*d//e
|
@ -0,0 +1 @@
|
||||
<EFBFBD>b\a
|
@ -0,0 +1 @@
|
||||
<EFBFBD>b\n
|
@ -0,0 +1 @@
|
||||
<EFBFBD>a
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user