int character;
OSDMap osdMap = new OSDMap();
while (((character = PeekAndSkipWhitespace(reader)) > 0) &&
((char)character != mapEndNotationMarker))
{
OSD osdKey = DeserializeLLSDNotationElement(reader);
if (osdKey.getType() != OSDType.String)
throw new OSDException("Notation LLSD parsing: Invalid key in map");
String key = osdKey.asString();
character = ReadAndSkipWhitespace(reader);
if ((char)character != keyNotationDelimiter)
throw new OSDException("Notation LLSD parsing: Unexpected end of stream in map.");
if ((char)character != keyNotationDelimiter)