bool NewLine = false;
bool SkipMode = false;
bool ColonFound = false;
+ bool QuoteMode = false;
char BufferChar = 0;
int StringDataSize = LoadStringData->size();
int SeekCount = 0;
NewLine = false;
+ } else if ((*LoadStringData)[SeekCount] == '\"'){
+
+ if (QuoteMode == false){
+ QuoteMode = true;
+ } else {
+ QuoteMode = false;
+ }
+
+ BufferChar = (*LoadStringData)[SeekCount];
+
+ if (ColonFound == false){
+ PropertyName += BufferChar;
+ } else {
+ PropertyValue += BufferChar;
+ }
+
} else if (NewLine == true){
// Character is on a new line but not a space or
NewLine = true;
- } else if ((*LoadStringData)[SeekCount] == ':'){
+ } else if ((*LoadStringData)[SeekCount] == ':' &&
+ QuoteMode == false){
// Character is the colon. Set the colon
// found boolen to true.