tags:

views:

75

answers:

1

Am I missing anything, or does JSON lacks a write_to_file() and read_from_file() subroutines?

Obviously, I can easily implement them, but as they seem so handy I wonder how can it be they are not there.

+4  A: 

Yeah, it lacks a write_to_file() and read_from_file() function because usually, you don't store JSON in files but use it only to send data back to the web client. You've got to implement it by yourself, which, as you said correctly, isn't that much to do.

joni