8#ifndef INCLUDED_BDLJSN_STRINGUTIL
9#define INCLUDED_BDLJSN_STRINGUTIL
217#include <bdlscm_version.h>
221#include <bsl_ostream.h>
222#include <bsl_string.h>
223#include <bsl_string_view.h>
291 if (2 >
string.size()) {
295 if (
string[0] !=
'"' &&
string[
string.size() - 1] !=
'"') {
Definition bslstl_stringview.h:441
BSLS_KEYWORD_CONSTEXPR_CPP14 basic_string_view substr(size_type position=0, size_type numChars=npos) const
Definition bslstl_stringview.h:1799
Definition bslstl_string.h:1281
#define BSLS_ASSERT(X)
Definition bsls_assert.h:1804
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
Definition bdljsn_error.h:143
Definition bdljsn_stringutil.h:235
Flags
Definition bdljsn_stringutil.h:239
@ e_ACCEPT_CAPITAL_UNICODE_ESCAPE
Definition bdljsn_stringutil.h:241
@ e_NONE
Definition bdljsn_stringutil.h:240
static int readString(bsl::string *value, const bsl::string_view &string, int flags=e_NONE)
Definition bdljsn_stringutil.h:285
static int writeString(bsl::ostream &stream, const bsl::string_view &string)
static int readUnquotedString(bsl::string *value, const bsl::string_view &string, int flags=e_NONE)