You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// the id gets an additional decimal number
http://plex-server-address:32400/playlists/1234.0/items?type=8
From what I can see in the JSON responses, the ID (or ratingKey) is usually sent as a string and not a number in all JSON responses. I haven't tested it with other SDKs yet, but I assume that this affects Java specifically, as per default a double is converted to 1234.0 with its builtin toString method.
I guess it would be the safest to just define the ratingKey as a string and not interpret it as numeric.
The text was updated successfully, but these errors were encountered:
When performing a request like so:
The resulting request looks like this:
From what I can see in the JSON responses, the ID (or ratingKey) is usually sent as a string and not a number in all JSON responses. I haven't tested it with other SDKs yet, but I assume that this affects Java specifically, as per default a double is converted to
1234.0
with its builtintoString
method.I guess it would be the safest to just define the ratingKey as a string and not interpret it as numeric.
The text was updated successfully, but these errors were encountered: