canvasapi icon indicating copy to clipboard operation
canvasapi copied to clipboard

Feature request: Return objects as JSON strings

Open lsloan opened this issue 1 year ago • 1 comments

When debugging programs that use data from Canvas, it can be extremely valuable to see that data in a handy human-readable format. For example, JSON. This module converts the JSON returned by the Canvas API into objects, but it would be helpful for those objects to return their original JSON strings upon request. Something like a to_json() method in the classes would help.

lsloan avatar Feb 17 '23 21:02 lsloan