title: What are the pros or cons of storing json as text vs blob in cassandra?
body: <p>One problem with blob for me is, in java, ByteBuffer (which is mapped to blob in cassandra) is not Serializable hence does not work well with EJBs.</p>
  
  <p>Considering the json is fairly large what would be the better type for storing json in cassandra. Is it text or blob?</p>
  
  <p>Does the size of the json matter when deciding the blob vs json?</p>
  
  <p>If it were any other database like oracle, it's common to use blob/clob. But in Cassandra where each cell can hold as large as 2GB, does it matter?</p>
  
  <p>Please consider this question as the choose between text vs blob for this case, instead of sorting to suggestions regarding whether to use single column for json.</p>