@@ -1687,6 +1687,7 @@ instance FromJSON DotNetTime where
1687-- primitive
1687-- primitive
1688-------------------------------------------------------------------------------
1688-------------------------------------------------------------------------------
1690+#if (MIN_VERSION_base(0,4,7))
1690instance FromJSON a => FromJSON (PM.Array a) where
1691instance FromJSON a => FromJSON (PM.Array a) where
1691 -- note: we could do better than this if vector exposed the data
1692 -- note: we could do better than this if vector exposed the data
1692 -- constructor in Data.Vector.
1693 -- constructor in Data.Vector.
@@ -1702,6 +1703,7 @@ instance (PM.Prim a,FromJSON a) => FromJSON (PM.PrimArray a) where
1702instance (PM.PrimUnlifted a,FromJSON a) => FromJSON (PM.UnliftedArray a) where
1703instance (PM.PrimUnlifted a,FromJSON a) => FromJSON (PM.UnliftedArray a) where
1703 parseJSON = fmap Exts.fromList . parseJSON
1704 parseJSON = fmap Exts.fromList . parseJSON
1706-------------------------------------------------------------------------------
1708-------------------------------------------------------------------------------