/dports/devel/elixir-poison/poison-3.1.0/test/poison/ |
H A D | encoder_test.exs | 7 assert to_json(nil) == "null" 8 assert to_json(true) == "true" 9 assert to_json(false) == "false" 14 assert to_json(42) == "42" 18 assert to_json(99.99) == "99.99" 27 assert to_json("\"") == ~s("\\"") 38 assert to_json(%{}) == "{}" 59 assert to_json([]) == "[]" 99 assert to_json(set) == "[]" 213 to_json(self()) [all …]
|
/dports/sysutils/vector/vector-0.10.0/website/ |
H A D | sidebars.js.erb | 7 <%= metadata.links.fetch_id("docs.about").to_json %>, 8 <%= metadata.links.fetch_id("docs.what-is-vector").to_json %>, 9 <%= metadata.links.fetch_id("docs.concepts").to_json %>, 14 <%= metadata.links.fetch_id("docs.data-model").to_json %>, 15 <%= metadata.links.fetch_id("docs.data-model.log").to_json %>, 19 <%= metadata.links.fetch_id("docs.guarantees").to_json %>, 26 <%= metadata.links.fetch_id("docs.setup").to_json %>, 31 <%= metadata.links.fetch_id("docs.installation").to_json %>, 89 <%= metadata.links.fetch_id("docs.reference").to_json %>, 94 <%= metadata.links.fetch_id("docs.sources").to_json %>, [all …]
|
/dports/lang/chaiscript/ChaiScript-6.1.0/unittests/ |
H A D | json_15.chai | 1 // Various to_json() tests 2 assert_equal(to_json(-13570), "-13570") 3 assert_equal(to_json(0.654321), "0.654321") 4 assert_equal(to_json("ChaiScript"), "\"ChaiScript\"") 5 assert_equal(to_json(true), "true") 6 assert_equal(to_json([1, 2, 3]), "[1, 2, 3]") 8 assert_equal(to_json([]), "[]") // empty vector 13 assert_equal(from_json(to_json([])), []) 14 assert_equal(from_json(to_json(Map())), Map()) 15 assert_equal(to_json(from_json("null")), "null") [all …]
|
/dports/converters/p5-JSON-DWIW/JSON-DWIW-0.47/t/ |
H A D | 01encode.t | 28 $json_str = $json_obj->to_json($data); 32 $json_str = $json_obj->to_json($data); 42 $json_str = $json_obj->to_json($data); 48 $json_str = $json_obj->to_json($data); 53 $json_str = $json_obj->to_json($data); 65 $json_str = $json_obj->to_json($data); 71 $json_str = $json_obj->to_json($data); 75 $json_str = $json_obj->to_json($data); 79 $json_str = $json_obj->to_json($data); 83 $json_str = $json_obj->to_json($data); [all …]
|
/dports/devel/godot/godot-3.2.3-stable/modules/gdscript/language_server/ |
H A D | lsp.hpp | 353 Dictionary to_json() { in to_json() function 369 Dictionary to_json() { in to_json() function 385 Dictionary to_json() { in to_json() function 401 Dictionary to_json() { in to_json() function 417 Dictionary to_json() { in to_json() function 433 Dictionary to_json() { in to_json() function 444 Dictionary to_json() { in to_json() function 454 Dictionary to_json() { in to_json() function 491 Dictionary to_json() { in to_json() function 527 Dictionary to_json() { in to_json() function [all …]
|
/dports/devel/godot-tools/godot-3.2.3-stable/modules/gdscript/language_server/ |
H A D | lsp.hpp | 353 Dictionary to_json() { in to_json() function 369 Dictionary to_json() { in to_json() function 385 Dictionary to_json() { in to_json() function 401 Dictionary to_json() { in to_json() function 417 Dictionary to_json() { in to_json() function 433 Dictionary to_json() { in to_json() function 444 Dictionary to_json() { in to_json() function 454 Dictionary to_json() { in to_json() function 491 Dictionary to_json() { in to_json() function 527 Dictionary to_json() { in to_json() function [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/testing/webdriver/src/ |
H A D | actions.rs | 51 fn to_json(&self) -> Json { in to_json() method 150 fn to_json(&self) -> Json { in to_json() method 155 }.to_json() in to_json() 186 fn to_json(&self) -> Json { in to_json() method 220 fn to_json(&self) -> Json { in to_json() method 254 fn to_json(&self) -> Json { in to_json() method 288 fn to_json(&self) -> Json { in to_json() method 312 fn to_json(&self) -> Json { in to_json() method 336 fn to_json(&self) -> Json { in to_json() method 364 fn to_json(&self) -> Json { in to_json() method [all …]
|
/dports/www/trac-devel/Trac-1.5.3/trac/util/tests/ |
H A D | presentation.py | 41 self.assertEqual('42', presentation.to_json(42)) 42 self.assertEqual('123.456', presentation.to_json(123.456)) 43 self.assertEqual('true', presentation.to_json(True)) 44 self.assertEqual('false', presentation.to_json(False)) 45 self.assertEqual('null', presentation.to_json(None)) 46 self.assertEqual('"String"', presentation.to_json('String')) 48 presentation.to_json(datetime.datetime( 51 presentation.to_json(datetime.datetime( 55 presentation.to_json("a ' single quote")) 57 presentation.to_json('<b>&</b>')) [all …]
|
/dports/net-im/mtxclient/mtxclient-0.6.0/include/mtx/ |
H A D | requests.hpp | 58 to_json(json &obj, const CreateRoom &request); 112 to_json(json &obj, const Login &request); 193 to_json(json &obj, const AvatarUrl &request); 203 to_json(json &obj, const DisplayName &request); 287 to_json(json &, const Empty &) in to_json() function 301 to_json(json &obj, const SignedOneTimeKey &); 315 to_json(json &obj, const UploadKeys &); 336 to_json(json &obj, const QueryKeys &); 347 to_json(json &obj, const ClaimKeys &request); 391 to_json(json &obj, const PusherData &data); [all …]
|
/dports/sysutils/vector/vector-0.10.0/scripts/generate/templates/_partials/ |
H A D | _fields.md.erb | 1 <Fields filters={<%= filters.to_json %>}> 6 defaultValue={<%= field.default.to_json %>} 7 enumValues={<%= field.enum.to_json %>} 8 examples={<%= field.examples.to_json %>} 9 groups={<%= field.groups.to_json %>} 10 name={<%= field.name.to_json %>} 11 path={<%= path.to_json %>} 12 relevantWhen={<%= field.relevant_when.to_json %>} 15 type={<%= field.type.to_json %>} 16 unit={<%= field.unit.to_json %>} [all …]
|
H A D | _component_header.md.erb | 3 delivery_guarantee: <%= component.delivery_guarantee.to_json %> 5 component_title: <%= component.title.to_json %> 6 …ponent.type} #{component_short_description(component).continuize}".remove_markdown_links.to_json %> 7 event_types: <%= component.event_types.to_json %> 8 function_category: <%= component.function_category.to_json %> 11 operating_systems: <%= component.operating_systems.to_json %> 16 sidebar_label: <%= "#{component.name}|#{component.event_types.to_json}".to_json %> 18 status: <%= component.status.to_json %> 19 title: <%= "#{component.title} #{component.type.titleize}".to_json %> 21 unsupported_operating_systems: <%= component.unsupported_operating_systems.to_json %>
|
H A D | _highlights.md.erb | 2 author={<%= author.to_json %>} 3 colorize={<%= colorize.to_json %>} 4 groupBy={<%= group_by.to_json %>} 5 headingDepth={<%= heading_depth.to_json %>} 6 items={<%= highlight_maps.to_json %>} 7 size={<%= size.to_json %>} 8 tags={<%= tags.to_json %>} 9 timeline={<%= timeline.to_json %>} />
|
/dports/math/py-pandas/pandas-1.2.5/pandas/tests/io/json/ |
H A D | test_pandas.py | 130 assert float_frame.to_json() == float_frame.to_json(orient="columns") 626 assert string_series.to_json() == string_series.to_json(orient="index") 723 data = s.to_json() 774 json = df.to_json() 789 json = ts.to_json() 949 json = dfj2.to_json() 977 s = df.to_json() 1126 assert s.to_json() == sc.to_json() 1142 assert stz.to_json() == s_naive.to_json() 1253 json = df.to_json() [all …]
|
/dports/editors/kakoune/kakoune-2021.11.08/src/ |
H A D | json.hh | 15 String to_json(ArrayView<const T> array) in to_json() function 17 return "[" + join(array | transform([](auto&& elem) { return to_json(elem); }), ", ") + "]"; in to_json() 21 String to_json(const Vector<T, D>& vec) { return to_json(ArrayView<const T>{vec}); } in to_json() function 24 String to_json(const HashMap<K, V, D>& map) in to_json() function 26 …{" + join(map | transform([](auto&& i) { return format("{}: {}", to_json(i.key), to_json(i.value))… in to_json() 30 String to_json(int i); 31 String to_json(bool b); 32 String to_json(StringView str);
|
H A D | json_ui.cc | 25 String to_json(Color color) in to_json() function 33 return to_json(to_string(color)); in to_json() 36 String to_json(Attribute attributes) in to_json() function 58 String to_json(Face face) in to_json() function 61 … to_json(face.fg), to_json(face.bg), to_json(face.underline), to_json(face.attributes)); in to_json() 71 return to_json(line.atoms()); in to_json() 74 String to_json(DisplayCoord coord) in to_json() function 79 String to_json(MenuStyle style) in to_json() function 90 String to_json(InfoStyle style) in to_json() function 104 String to_json(CursorMode mode) in to_json() function [all …]
|
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/config/ |
H A D | mail_room.yml | 7 :host: <%= config[:host].to_json %> 8 :port: <%= config[:port].to_json %> 9 :ssl: <%= config[:ssl].to_json %> 10 :start_tls: <%= config[:start_tls].to_json %> 11 :email: <%= config[:user].to_json %> 12 :password: <%= config[:password].to_json %> 13 :idle_timeout: <%= config[:idle_timeout].to_json %> 15 :log_path: <%= config[:log_path].to_json %> 17 :name: <%= config[:mailbox].to_json %> 31 :redis_url: <%= config[:redis_url].to_json %> [all …]
|
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/community/proxysql/roles/proxysql/vars/ |
H A D | main.yml | 36 variable_value: "{{ proxysql_admin_checksum_mysql_servers | to_json }}" 39 variable_value: "{{ proxysql_admin_checksum_mysql_users | to_json }}" 72 variable_value: "{{ proxysql_admin_hash_passwords | to_json }}" 78 variable_value: "{{ proxysql_admin_read_only | to_json }}" 102 variable_value: "{{ proxysql_admin_web_enabled | to_json }}" 116 variable_value: "{{ proxysql_mysql_client_found_rows | to_json }}" 119 variable_value: "{{ proxysql_mysql_commands_stats | to_json }}" 218 variable_value: "{{ proxysql_mysql_monitor_enabled | to_json }}" 278 variable_value: "{{ proxysql_mysql_multiplexing | to_json }}" 299 variable_value: "{{ proxysql_mysql_query_digests | to_json }}" [all …]
|
/dports/lang/ruby26/ruby-2.6.9/test/psych/ |
H A D | test_json_tree.rb | 7 assert_match(/"foo"/, Psych.to_json("foo")) 11 assert_match(/"foo"/, Psych.to_json(:foo)) 15 assert_match(/^null/, Psych.to_json(nil)) 19 assert_match(/^10/, Psych.to_json(10)) 23 assert_match(/^1.2/, Psych.to_json(1.2)) 28 json = Psych.to_json(hash) 42 json = Psych.to_json Bar.new 48 json = Psych.to_json(list) 58 Psych.to_json({'a' => time }) 63 …assert_equal "{\"a\": \"#{time.strftime("%Y-%m-%d %H:%M:%S.%9N %:z")}\"}\n", Psych.to_json({'a' =>…
|
/dports/net-im/mtxclient/mtxclient-0.6.0/lib/structs/ |
H A D | requests.cpp | 32 to_json(json &obj, const CreateRoom &request) in to_json() function 52 to_json(json &obj, const Login &request) in to_json() function 113 to_json(json &obj, const AvatarUrl &request) in to_json() function 119 to_json(json &obj, const DisplayName &request) in to_json() function 153 to_json(json &obj, const PublicRooms &request) in to_json() function 182 to_json(json &obj, const DeviceUpdate &request) in to_json() function 195 to_json(json &obj, const UploadKeys &request) in to_json() function 208 to_json(json &obj, const ClaimKeys &request) in to_json() function 215 to_json(json &obj, const QueryKeys &request) in to_json() function 242 to_json(json &obj, const PusherData &data) in to_json() function [all …]
|
/dports/audio/giada/giada-0.17.1/src/deps/json/test/src/ |
H A D | unit-noexcept.cpp | 45 void to_json(json&, pod) noexcept; 46 void to_json(json&, pod_bis); 49 void to_json(json&, pod) noexcept {} in to_json() function 50 void to_json(json&, pod_bis) {} in to_json() function 57 static_assert(noexcept(nlohmann::to_json(*j, 2)), ""); 58 static_assert(noexcept(nlohmann::to_json(*j, 2.5)), ""); 59 static_assert(noexcept(nlohmann::to_json(*j, true)), ""); 60 static_assert(noexcept(nlohmann::to_json(*j, test{})), ""); 61 static_assert(noexcept(nlohmann::to_json(*j, pod{})), ""); 92 to_json(j2, pod()); [all …]
|
/dports/devel/nlohmann-json/json-3.10.4/test/src/ |
H A D | unit-noexcept.cpp | 49 void to_json(json& /*unused*/, pod /*unused*/) noexcept; 50 void to_json(json& /*unused*/, pod_bis /*unused*/); 53 void to_json(json& /*unused*/, pod /*unused*/) noexcept {} in to_json() function 54 void to_json(json& /*unused*/, pod_bis /*unused*/) {} in to_json() function 61 static_assert(noexcept(nlohmann::to_json(*j, 2)), ""); 62 static_assert(noexcept(nlohmann::to_json(*j, 2.5)), ""); 63 static_assert(noexcept(nlohmann::to_json(*j, true)), ""); 64 static_assert(noexcept(nlohmann::to_json(*j, test{})), ""); 65 static_assert(noexcept(nlohmann::to_json(*j, pod{})), ""); 96 to_json(j2, pod()); [all …]
|
/dports/lang/swi-pl/swipl-8.2.3/packages/pengines/ |
H A D | term_to_json.pl | 71 to_json(Term, X) 81 to_json(Term, '_') :- 88 to_json(Term, Term) :- 91 to_json(Term, Term) :- 94 to_json(Term, Value) :- 101 to_json(Term, Term) :- 104 to_json(Term, JsonList) :- 108 to_json(json(Pairs0), Term) :- 112 to_json(Term0, Term) :- 130 to_json(Value0, Value). [all …]
|
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/app/services/packages/rubygems/ |
H A D | metadata_extraction_service.rb | 25 files: gemspec&.files&.to_json, 30 licenses: gemspec&.licenses&.to_json, 31 metadata: gemspec&.metadata&.to_json, 34 executables: gemspec&.executables&.to_json, 35 extensions: gemspec&.extensions&.to_json, 36 extra_rdoc_files: gemspec&.extra_rdoc_files&.to_json, 39 rdoc_options: gemspec&.rdoc_options&.to_json, 40 require_paths: gemspec&.require_paths&.to_json, 43 requirements: gemspec&.requirements&.to_json,
|
/dports/lang/ruby26/ruby-2.6.9/test/json/ |
H A D | json_encoding_test.rb | 44 assert_equal '""', ''.to_json 45 assert_equal '"\\b"', "\b".to_json 46 assert_equal '"\u0001"', 0x1.chr.to_json 47 assert_equal '"\u001f"', 0x1f.chr.to_json 48 assert_equal '" "', ' '.to_json 49 assert_equal "\"#{0x7f.chr}\"", 0x7f.chr.to_json 52 assert_equal json, utf8.to_json(:ascii_only => false) 55 assert_equal json, utf8.to_json(:ascii_only => true) 60 assert_equal json, utf8.to_json(:ascii_only => false) 64 assert_equal json, utf8.to_json(:ascii_only => true) [all …]
|
/dports/net-im/mtxclient/mtxclient-0.6.0/include/mtx/events/ |
H A D | encrypted.hpp | 32 to_json(nlohmann::json &obj, const SASMethods &method); 45 to_json(nlohmann::json &obj, const VerificationMethods &method); 63 to_json(nlohmann::json &obj, const OlmCipherContent &event); 82 to_json(nlohmann::json &obj, const OlmEncrypted &event); 105 to_json(nlohmann::json &obj, const Encrypted &event); 115 to_json(nlohmann::json &obj, const Dummy &event); 133 to_json(nlohmann::json &obj, const RoomKey &event); 179 to_json(nlohmann::json &obj, const RequestAction &action); 208 to_json(nlohmann::json &obj, const KeyRequest &event); 466 to_json(nlohmann::json &obj, const SecretRequest &event); [all …]
|