code: function readValue(str) {
              shared.utils.dassert(shared.utils.isValue(str));
              var rs = new ReadStream(str);
              return rs.readNextValue();
          }
docs: /*
  Read a value as encoded by writeValue. The passed string must contain
  one complete value with no leading or trailing characters. May return
  null if passed 'null'.