1Search::Elasticsearch::USseerriaCloinzterri:b:uJtSeSOdeNa(Pr3ec)rhl::DEolcausmteinctsaetairocnh::Serializer::JSON(3)
2
3
4
6 Search::Elasticsearch::Serializer::JSON - The default JSON Serializer,
7 using JSON::MaybeXS
8
10 version 8.00
11
13 $e = Search::Elasticsearch(
14 # serializer => 'JSON'
15 );
16
18 This default Serializer class chooses between:
19
20 • Cpanel::JSON::XS
21
22 • JSON::XS
23
24 • JSON::PP
25
26 First it checks if either Cpanel::JSON::XS or JSON::XS is already
27 loaded and, if so, uses the appropriate backend. Otherwise it tries to
28 load Cpanel::JSON::XS, then JSON::XS and finally JSON::PP.
29
30 If you would prefer to specify a particular JSON backend, then you can
31 do so by using one of these modules:
32
33 • Search::Elasticsearch::Serializer::JSON::Cpanel
34
35 • Search::Elasticsearch::Serializer::JSON::XS
36
37 • Search::Elasticsearch::Serializer::JSON::PP
38
39 See their documentation for details.
40
42 Enrico Zimuel <enrico.zimuel@elastic.co>
43
45 This software is Copyright (c) 2022 by Elasticsearch BV.
46
47 This is free software, licensed under:
48
49 The Apache License, Version 2.0, January 2004
50
51
52
53perl v5.38.0 202S3e-a0r7c-h2:1:Elasticsearch::Serializer::JSON(3)