| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_JSON_STRINGIFIER_H_ | 5 #ifndef V8_JSON_STRINGIFIER_H_ |
| 6 #define V8_JSON_STRINGIFIER_H_ | 6 #define V8_JSON_STRINGIFIER_H_ |
| 7 | 7 |
| 8 #include "src/v8.h" | 8 #include "src/v8.h" |
| 9 |
| 9 #include "src/conversions.h" | 10 #include "src/conversions.h" |
| 10 #include "src/utils.h" | 11 #include "src/utils.h" |
| 11 | 12 |
| 12 namespace v8 { | 13 namespace v8 { |
| 13 namespace internal { | 14 namespace internal { |
| 14 | 15 |
| 15 class BasicJsonStringifier BASE_EMBEDDED { | 16 class BasicJsonStringifier BASE_EMBEDDED { |
| 16 public: | 17 public: |
| 17 explicit BasicJsonStringifier(Isolate* isolate); | 18 explicit BasicJsonStringifier(Isolate* isolate); |
| 18 | 19 |
| (...skipping 850 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 869 SerializeString_<false, uint8_t>(object); | 870 SerializeString_<false, uint8_t>(object); |
| 870 } else { | 871 } else { |
| 871 SerializeString_<false, uc16>(object); | 872 SerializeString_<false, uc16>(object); |
| 872 } | 873 } |
| 873 } | 874 } |
| 874 } | 875 } |
| 875 | 876 |
| 876 } } // namespace v8::internal | 877 } } // namespace v8::internal |
| 877 | 878 |
| 878 #endif // V8_JSON_STRINGIFIER_H_ | 879 #endif // V8_JSON_STRINGIFIER_H_ |
| OLD | NEW |