• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

bblanchon / ArduinoJson / 5059503557

pending completion
5059503557

push

github

Benoit Blanchon
getOrAddMember

12 of 12 new or added lines in 2 files covered. (100.0%)

3287 of 3306 relevant lines covered (99.43%)

6225.44 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

55.56
/src/ArduinoJson/Variant/Visitor.hpp
1
// ArduinoJson - https://arduinojson.org
2
// Copyright © 2014-2023, Benoit BLANCHON
3
// MIT License
4

5
#pragma once
6

7
#include <ArduinoJson/Collection/CollectionData.hpp>
8
#include <ArduinoJson/Numbers/JsonFloat.hpp>
9
#include <ArduinoJson/Numbers/JsonInteger.hpp>
10

11
ARDUINOJSON_BEGIN_PRIVATE_NAMESPACE
12

13
template <typename TResult>
14
struct Visitor {
15
  typedef TResult result_type;
16

17
  TResult visitArray(const CollectionData&) {
18
    return TResult();
19
  }
20

21
  TResult visitBoolean(bool) {
22
    return TResult();
23
  }
24

25
  TResult visitFloat(JsonFloat) {
26
    return TResult();
27
  }
28

29
  TResult visitSignedInteger(JsonInteger) {
30
    return TResult();
31
  }
32

33
  TResult visitNull() {
34
    return TResult();
35
  }
36

37
  TResult visitObject(const CollectionData&) {
38
    return TResult();
39
  }
40

41
  TResult visitUnsignedInteger(JsonUInt) {
42
    return TResult();
43
  }
44

45
  TResult visitRawString(const char*, size_t) {
46
    return TResult();
47
  }
48

49
  TResult visitString(const char*, size_t) {
50
    return TResult();
51
  }
52
};
53

54
ARDUINOJSON_END_PRIVATE_NAMESPACE
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc