We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8450921 commit fb25dffCopy full SHA for fb25dff
1 file changed
packages/serialization/json/kiota_serialization_json/json_parse_node.py
@@ -233,7 +233,7 @@ def get_bytes_value(self) -> Optional[bytes]:
233
Returns:
234
bytearray: The bytearray value from the nodes
235
"""
236
- base64_string = str(self._json_node)
+ base64_string = json.dumps(self._json_node)
237
if not base64_string:
238
return None
239
return base64_string.encode("utf-8")
0 commit comments