fn decode_string(&self, string: Vec<u8>) -> Result<Value> {
        if self.options.decode_strings {
            self.decode_unicode(string)
        } else {
            Ok(Value::Bytes(string))
        }
    }
// Decode a string - either as Unicode or as bytes.
Decode a string - either as Unicode or as bytes.
Decode a string - either as Unicode or as bytes .
fn decode_string(&self, string: Vec<u8>) -> Result<Value> {
        if self.options.decode_strings {
            self.decode_unicode(string)
        } else {
            Ok(Value::Bytes(string))
        }
    }
fn decode_string ( & self , string : Vec < u8 > ) -> Result < Value > { if self . options . decode_strings { self . decode_unicode ( string ) } else { Ok ( Value :: Bytes ( string ) ) } }
Decode a string - either as Unicode or as bytes.
Decode a string - either as Unicode or as bytes .
&self
string
Vec<u8>
&self
string
Vec<u8>