That seems reasonable, assuming that the JSON library is decent and that AMD doesn't do anything crazy with the value.